Search found 2403 matches

by coderJeff
Jan 11, 2021 22:26
Forum: General
Topic: Why is there a Known Compiler Bug from 2012 still in?
Replies: 19
Views: 976

Re: Why is there a Known Compiler Bug from 2012 still in?

Is there a problem with GCC's -O3 optimization? I ran his test code with GCC and -O 3 and it works fine. Maybe I'm not reading this correctly but the -vec 2 issue only applies to the gas backend, does it not? The problem occurs when using '-fpu sse -vec 2' command line options with any backend. The...
by coderJeff
Jan 11, 2021 19:20
Forum: General
Topic: Why is there a Known Compiler Bug from 2012 still in?
Replies: 19
Views: 976

Re: Why is there a Known Compiler Bug from 2012 still in?

@Manpcnin. thanks for the post with additional information. Yeah, the original author has not been around in 10+ years, and we're not experts in everything. Usually, when I go back to those old bugs, I have to do a lot self teaching before I can even begin to understand what's going on. I think I un...
by coderJeff
Jan 11, 2021 18:40
Forum: General
Topic: 255 symbol in fb font incorrectly works
Replies: 12
Views: 674

Re: 255 symbol in fb font incorrectly works

Is it possible to redefine this symbol for users, instead of FF, make it possible to select? The default is always FF (255), but make some kind of macro. That's possible, but I think it would be better to remove the need for a reserved character completely, like provide a separate function /hook or...
by coderJeff
Jan 11, 2021 18:36
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 309
Views: 30444

Re: FreeBASIC 1.08 Development

At the very least it should be made clear what aspect of C compatibility is meant, ... There's 3 areas where "gcc/c" and "g++/c++" influence the project. Language features: - C like pointers using '*' to dereference - in some contexts C like arrays / pointer indexing using '[ind...
by coderJeff
Jan 09, 2021 15:35
Forum: General
Topic: 255 symbol in fb font incorrectly works
Replies: 12
Views: 674

Re: 255 symbol in fb font incorrectly works

Looks like since 2007 (fbc ver 0.18.2) - chr(255) is reserved for printing the cursor in [LINE] INPUT. - if the string has a length of 1 and is chr(255) only, then the cursor is shown instead of the font data - any other length of string, the font data is shown. Because of the hooks between gfxlib2 ...
by coderJeff
Jan 02, 2021 8:10
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 309
Views: 30444

Re: FreeBASIC 1.08 Development

Hi marcov, I meant the poke with the utmost respect. I think we have had some friendly worthwhile discussions from time to time about FPC's development and fbc's short-comings. I feel you have me at disadvantage as I think I am certain you likely know a lot more about fbc than I will know about FPC....
by coderJeff
Jan 01, 2021 18:40
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 309
Views: 30444

Re: FreeBASIC 1.08 Development

Mixing of .o files from C and from Fbc. fbc has a high degree of compatibility with C. Regardless of what anyone says [yes, I'm thinking of your opinions, marcov, :) ], it is a goal of the project. In theory, you should be able to freely mix C and fbc code. Some limitations apply when you start get...
by coderJeff
Jan 01, 2021 17:59
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 309
Views: 30444

Re: FreeBASIC 1.08 Development

But in C without Sharp local variables can be declared as volatile. IIRC, volatile can be part of a C typedef, like the const qualifier. volatile was never in mind when fbc was written. - volatile would probably need to become a reserved word, though could limit it's scope to specific contexts. Or ...
by coderJeff
Jan 01, 2021 17:45
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 309
Views: 30444

Re: FreeBASIC 1.08 Development

The gfx lib is meanwhile very antiquated - only rudimentary functions. Any chance to extend the build-in lib by adding new features and functions such as anti aliasing, filled polygons, image scaling, perlin noise, etc.? IMHO, It would be nice to pick one thing to start with, for example a TRIANGLE...
by coderJeff
Jan 01, 2021 16:58
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 309
Views: 30444

Re: FreeBASIC 1.08 Development

dkl has provided us a great tool which drastically simplifies binding creation called "fbfrog" (https://github.com/dkl/fbfrog). Beside that there's a repository with fbfrog configuration files and additional scripts to automate the binding creation for many common libraries (https://githu...
by coderJeff
Dec 31, 2020 18:29
Forum: Documentation
Topic: Wiki signups
Replies: 52
Views: 36645

Re: Wiki signups

Hi Tristano, thank-you. You should be all set to login. Be sure to change your temporary password.
by coderJeff
Dec 31, 2020 16:40
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 68
Views: 14704

Re: FreeBASIC 1.07 Release Discussion

I rebuilt the win64 packages, with only the DirectX bug fixed / changed from 1.07.2 ⋅ win64: FreeBASIC-1.07.3-win64.7z | FreeBASIC-1.07.3-win64.zip The only difference is the gfxlib. So, if you already have 1.07.2, you can copy in just the libraries (about 165 KiB). ⋅ win64 - gfx...
by coderJeff
Dec 31, 2020 16:20
Forum: News
Topic: Version 1.07.3 Win64 Release
Replies: 0
Views: 1528

Version 1.07.3 Win64 Release

Due to a missing patch in 1.07.2 this release fixes a DirectX driver bug on Windows 64-bit *only* - sf.net #898: fbc win gfxlib DirectX driver failed to initialize on 64-bit, due to incorrect construction of DIDATAFORMAT for keyboard device (macko17) Please note: Version 1.07.3 is not tagged in the ...
by coderJeff
Dec 31, 2020 6:27
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 68
Views: 14704

Re: FreeBASIC 1.07 Release Discussion

@adeyblue, I think the 1.08.0 gfx changes are just fine. Thanks for checking it out. I found a new way to shoot myself in the foot ... sf.net #898: fbc win gfxlib DirectX driver failed to initialize on 64-bit, due to incorrect construction of DIDATAFORMAT for keyboard device (macko17) And I forgot t...
by coderJeff
Dec 30, 2020 19:13
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 68
Views: 14704

Re: FreeBASIC 1.07 Release Discussion

UEZ wrote:Yes, this "fixes" the issue when setting the gfx driver to GDI. Btw, I'm on Win10.

IMHO, we've had troubles with the DirectX driver on Win10. adeyblue wrote a new Direct2D driver that will be the default selected in fbc 1.08.0.

Go to advanced search