Examples in the build FB bugs

Forum for discussion about the documentation project.
Post Reply
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Examples in the build FB bugs

Post by VANYA »

Hi all!

The freebasic distribution contains examples: examples / graphics / cairo / * bas

All examples do not work on a 64-bit system due to one problem (I will show it using CLOCK.bas as an example):

Code: Select all

Dim As cairo_surface_t Ptr surface = _
	cairo_image_surface_create_for_data(ScreenPtr(), _
		CAIRO_FORMAT_ARGB32, SCREEN_W, SCREEN_H, _
		SCREEN_W * SizeOf(Integer))
need to: SizeOf(long)

P.S. I did not know where to write, so that it would not get lost and was corrected before release fbc 1.08
Xusinboy Bekchanov
Posts: 782
Joined: Jul 26, 2018 18:28

Re: Examples in the build FB bugs

Post by Xusinboy Bekchanov »

Hello, you can submit a fix request here: https://github.com/freebasic/fbc
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: Examples in the build FB bugs

Post by VANYA »

Xusinboy Bekchanov wrote:Hello, you can submit a fix request here: https://github.com/freebasic/fbc
Hi!

Right, I forgot :)

Left here: https://sourceforge.net/p/fbc/bugs/932/
Post Reply