Search found 2068 matches

by coderJeff
Sep 08, 2019 12:49
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 50
Views: 3954

Re: fb 1.07 tests

to be simple what should we use integer or long? for 32bit FB If all your code is for 32-bit target only, and you are writing all your code in fbc, it probably doesn't matter. However, it is important (even in 32-bit only) if you are linking your code (i.e. declarations) to libraries from other com...
by coderJeff
Sep 08, 2019 12:39
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 50
Views: 3954

Re: fb 1.07 tests

I Noticed that the asm file GUIS.1.0.asm end with this; call __ZN17TSIMPLEPANTOGRAPH14MAPREALTOPIXELEddRlS0_@28 mov eax, dword ptr [ebp+28] lea ebx, [eax] push ebx push dword ptr [ebp-8] push dword ptr [ebp-4] mov ebx, dword ptr [ebp+8] lea eax, [ebx+4] pu Does the asm file really end this way? If ...
by coderJeff
Sep 08, 2019 12:33
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 15
Views: 1129

Re: FreeBASIC 1.07.0 Release Discussion

Is there any kind of schedule for future releases? No schedule. I feel like making a schedule will take all the fun out of this. My goal is about 1 or 2 releases a year, if possible. Maybe January-ish? Or any set of changes that you want to finish before releasing 1.08? There is "a lot" o...
by coderJeff
Sep 08, 2019 11:57
Forum: Community Discussion
Topic: __FB_BUILD_DATE__ should be changed to ISO-Date
Replies: 12
Views: 385

Re: __FB_BUILD_DATE__ should be changed to ISO-Date

So adding __FB_BUILD_DATE_ISO__ is maybe best. Yes, I agree. Thanks, I have merged in to fbc/master: - __FB_BUILD_DATE_ISO__ intrinsic define to return fbc build date in 'yyyy-mm-dd' format As far as "version" checks go though, using date as an identifier is likely only valid in a very li...
by coderJeff
Sep 08, 2019 11:49
Forum: Community Discussion
Topic: __FB_BUILD_DATE__ should be changed to ISO-Date
Replies: 12
Views: 385

Re: __FB_BUILD_DATE__ should be changed to ISO-Date

__DATE_ISO__ Intrinsic define (macro value) set by the compiler Yes, __DATE_ISO__ returns the current date at the time of compilation (of user's code) The proposed __FB_BUILD_DATE_ISO__ would return the date in ISO date format of when the compiler itself was built. Much like __FB_BUILD_DATE__ , exc...
by coderJeff
Sep 08, 2019 11:46
Forum: Community Discussion
Topic: version -v
Replies: 4
Views: 1091

Re: version -v

Not an output suggestion, just an example of where/why I see some level of need/desire. Yeah, obviously the full build will give the most information. For some items (options) where they are known before starting a compile, it would be relatively easy to display with '-version -v'. For other items,...
by coderJeff
Sep 04, 2019 3:13
Forum: Windows
Topic: Setting gcc compiler for WinFBE
Replies: 93
Views: 2442

Re: Setting gcc compiler for WinFBE

I feel like there's a lot of discussion here I can respond to, but I don't know where to start, so I'll just walk until I find a track. (deltarho, sorry, this seems like most convenient place at the moment, as far as topics go). Toolchains and GCC versions: - using a different tool chain, even if on...
by coderJeff
Sep 04, 2019 2:37
Forum: Windows
Topic: Setting gcc compiler for WinFBE
Replies: 93
Views: 2442

Re: Setting gcc compiler for WinFBE

... What I do know, is that the latest LTS (long term release) of Ubuntu (18.04, a year old now) has GCC 7.4 installed. So Ubuntu considered 7.4 stable That's pretty much what I did with 14.04, is just use the default installed compiler. I actually downloaded the 18.04 ISO like a month ago, plannin...
by coderJeff
Sep 04, 2019 2:11
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 5800

Re: Array Descriptor (split from Wiki Improvements)

Why not replace: .... Partly old habits, partly because I think that bitfields generate unnecessary code due the masking and shifting when assigning or accessing. I haven't looked the asm generation for bitfields in years, though. The advantage of bitfields is that it makes for much cleaner interfa...
by coderJeff
Sep 04, 2019 1:43
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 15
Views: 1129

Re: FreeBASIC 1.07.0 Release Discussion

in my tests I found that some old dll run successfully see ... can we have a theory for the type of dll that can be executed successfully The type of DLL that can be executed successfully (I would think always), is the one that is compiled in same version of fbc (and target) as the main program. An...
by coderJeff
Sep 04, 2019 1:32
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 50
Views: 3954

Re: fb 1.07 tests

1) what can be the cause of the fact that instead of the library it is the asm file which is created I don't know about that one. Try compiling with '-v' command line option , and see more detail of what's actually happening. Are there any other extra command line options given (like from a...
by coderJeff
Sep 02, 2019 16:39
Forum: Windows
Topic: Setting gcc compiler for WinFBE
Replies: 93
Views: 2442

Re: Setting gcc compiler for WinFBE

It may well turn out that 7.4 64-bit is as robust as 5.2. If that proves to be the case then I will stick my neck out and give it the thumbs up. It is thumbs down for 7.3 64-bit. Thank-you again for working through this. What I see is a 7.3 from a known source, and a 7.4 from a newly discovered sou...
by coderJeff
Sep 02, 2019 15:14
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 5800

Re: Array Descriptor (split from Wiki Improvements)

The next step is to add the new "flags" field to the array descriptor and break everything. The new flags field for the array descriptor is merged in to fbc/master. When compiling fbc from sources, I recommend building it from a previous release, and then rebuilding it again with itself. ...
by coderJeff
Sep 02, 2019 13:03
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 5800

Re: Array Descriptor (split from Wiki Improvements)

I added the extern "rtlib" feature.

For that discussion, please go to Extern "rtlib"
by coderJeff
Sep 02, 2019 12:58
Forum: Documentation
Topic: extern "rtlib"
Replies: 0
Views: 106

extern "rtlib"

Recently added in fbc 1.08 is the extern "rtlib" block: * fbc: add extern "rtlib" - add extern "rtlib" block, to make convenient, declaring functions within fb source code, but defined in fb's rtlib - combines the behaviour of extern "c" with fbc default calli...

Go to advanced search