Search found 2485 matches

by coderJeff
Jun 19, 2021 12:33
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 522
Views: 98526

Re: Where can I get a Recent-Git-Build of FreeBASIC?

The daily builds are not fixed fbc 1.08.0 instead it's 1.09.0 (the dreamer/far away future version runtime written in FreeBASIC) ! That means we have only a 1.07.2 stable version but never get a 1.08.0 stable version right ? 1.07.3 (full release) fixes 2 bugs from 1.07.2 The bugs reported from 1.08...
by coderJeff
Jun 19, 2021 10:31
Forum: Community Discussion
Topic: FreeBASIC 1.08.1 and 1.09.0 Development
Replies: 10
Views: 387

Re: FreeBASIC 1.08.1 and 1.09.0 Development

- 'On error goto' is seriously broken - like it needs to be fixed or removed A basic fix for this that I thought about (that probably has more impact than I realise is): I had some similar thoughts. At least getting error handling within the local procedure to work and deal with leaking issue later...
by coderJeff
Jun 19, 2021 10:27
Forum: Community Discussion
Topic: FreeBASIC 1.08.1 and 1.09.0 Development
Replies: 10
Views: 387

Re: FreeBASIC 1.08.1 and 1.09.0 Development

I would like to have implemented OPEN CONS FOR BINARY, so I could be able to read binary streams from stdin without having to link against the whole CRT library, only to use fread() The CRT will be linked anyway. fb's runtime uses CRT's file functions extensively and GET # will call fread(). The is...
by coderJeff
Jun 16, 2021 10:40
Forum: General
Topic: A brain teaser
Replies: 27
Views: 751

Re: A brain teaser

I thought maybe this could be due to gcc's '-fstrict-aliasing' which is turned on for -O levels 2 and higher. This option turns on optimizations that assume pointers of different types never point to the same memory location. With a byref ulongint (aka ulongint ptr) referenced through a ubyte ptr, i...
by coderJeff
Jun 13, 2021 12:51
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

Have you seen my post about class destructor, CoderJeff? I did. The duplicate definition is due to: - evidently a difference between g++ on windows versus linux (I think the deleting dtor is optimized out but there is still an entry in the vtable ... maybe) - a bug where the deleting dtor procedure...
by coderJeff
Jun 13, 2021 12:33
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

I appreciate that there are some brave users willing to trial the new version. There will be some growing pains for sure. It is only with the valuable feedback and reports from the community that we can resolve the issues and make improvements. Thanks.
by coderJeff
Jun 13, 2021 12:32
Forum: Community Discussion
Topic: FreeBASIC 1.08.1 and 1.09.0 Development
Replies: 10
Views: 387

FreeBASIC 1.08.1 and 1.09.0 Development

Development on fbc 1.08.1 and fbc 1.09.0 started June 2021. For discussions on bugs / development, there is also: - Issue tracker on github: https://github.com/freebasic/fbc/issues - Bug tracker on sourceforge.net: https://sourceforge.net/p/fbc/bugs/ For discussion on the 1.08.x release see: FreeBAS...
by coderJeff
Jun 12, 2021 10:27
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

Landeel wrote:I couldn't get 'SET_GL_SCALE' to work even with this workaround.

The work-around works for me. Can you post (short) sample code to compare between fbc 1.07.3 and 1.08.0?

Fix for screencontrol committed in fbc 1.08.1 (fbc-1.08 branch) & fbc 1.09.0 (master branch)
by coderJeff
Jun 12, 2021 10:22
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

Makoto WATANABE wrote:I presume that "libxfont.a" is not compatible with FreeBASIC 1.08.0.

Probably, yes. To fix some really old bugs in fbc internal changes had to be made that break binary compatibility. Try recompiling the library also using the new version of fbc.
by coderJeff
Jun 08, 2021 23:58
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

Looks like ImageInfo doesn't allow optional arguments any more ? Sort of. I did not make this change lightly and knew that it could cause some source code breaks. imho, LONG data type should be preferred since the FB.IMAGE type which directly represents the underlying implementation in gfxlib all L...
by coderJeff
Jun 08, 2021 23:03
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

I switched to 1.08.0, and found this bug. Hmmm. I wrote the new gfx SCREENCONTROL API entry points wrong .. so that sucks. They are ok for GET functions but not SET. The mistake is obvious now that you have pointed it out, thank-you. If you do want to test other parts of version 1.08.0 you can use ...
by coderJeff
Jun 08, 2021 0:44
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

I tried to compile the example of https://www.freebasic.net/forum/viewtopic.php?p=272431#p272431 With 1.08 it doesn't compile Did you have class.o on the command-line twice by accident? It compiles for me with wilibs-gcc-9.3... with some help adjusting the paths and command line. Appears to still b...
by coderJeff
Jun 07, 2021 23:44
Forum: General
Topic: random list of natural numbers
Replies: 4
Views: 163

Re: random list of natural numbers

@badidea, I think you have the right method. Only one iteration of the list of numbers, and 1/n chance of any number moved to any other position The number of elements is known so can do it with a fixed array of the total elements (numbers): const n = 5000 randomize timer '' initialize dim x( 1 to n...
by coderJeff
Jun 06, 2021 20:18
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

"gdb.exe" and "zlib1.dll" are missing. Oh shoot. Looks I missed on consistency between the packages to include gdb. In some cases I see it's a bug in the release script. Maybe I can do a little add on package some time later. Also, I meant to follow-up on marcov's post in FreeBA...
by coderJeff
Jun 06, 2021 14:48
Forum: Community Discussion
Topic: FreeBASIC 1.08.0 Release Discussion (June 2021)
Replies: 56
Views: 2307

Re: FreeBASIC 1.08.0 Release Discussion (June 2021)

The problem I discovered is only for Win7 - Win10 seems to work properly. ok, confirmed. Here's what I think is happening: On Win10, both the window and the display surface (RenderTarget) are scaled by the system DPI - for me,this happens for all older non-DPI aware applications by default . And wi...

Go to advanced search