FBC 1.00.0

For other topics related to the FreeBASIC project or its community.
dodicat
Posts: 6555
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: FBC 1.00.0

Postby dodicat » Oct 28, 2014 20:08

Thanks St_W
I had sifted through line endings also, but missed the #define ending.

Either we must type very strictly #defines() --- or use #macro() --- #endmacro instead.

Thank you for all these auto builds.
fxm
Posts: 9713
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FBC 1.00.0

Postby fxm » Oct 28, 2014 20:29

Well done St_W!

Yes adding a trailinge space at the end of the #define line induces the compiler error, but only with fbc version 1.01.0:
- compilation OK for fbc_win32_mingw_0155_2014-09-27.zip 27-Sep-2014 02:09
- compilation NOK for fbc_win32_mingw_0157_2014-09-27.zip 28-Sep-2014 02:00

This revolves around 27-Sep-2014, but I have not found the change that can induce this bad behavior!
St_W
Posts: 1494
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FBC 1.00.0

Postby St_W » Oct 28, 2014 22:10

fxm wrote:Yes adding a trailinge space at the end of the #define line induces the compiler error, but only with fbc version 1.01.0:
- compilation OK for fbc_win32_mingw_0155_2014-09-27.zip 27-Sep-2014 02:09
- compilation NOK for fbc_win32_mingw_0157_2014-09-27.zip 28-Sep-2014 02:00

This revolves around 27-Sep-2014, but I have not found the change that can induce this bad behavior!

That's already a very good discovery. I tried both build #155 (2014-09-27 01:56:57) and build #156 (2014-09-27 03:41:59) and the latter introduced the compiler error. Thus it's probably something from these two commits:However, one other possible source of the problem might also be my build. For example always the same fbc version is used to compile fbc - meanwhile this version (a 0.91 git compile from somewhere around february this year) is already quite old and may contain a bug which would be already fixed in a newer version. This fbc installation on the Jenkins server is currently not updated automatically, but has to be updated manually.
That's only one possible reason and there are probably a lot of such reasons, that I currently can't think of.

So now it's dkl's turn :-)

(btw: #156 was not uploaded to freebasic-portal, as only the latest build each morning at 02:00 (GMT+1) is uploaded for space reasons)
fxm
Posts: 9713
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FBC 1.00.0

Postby fxm » Oct 31, 2014 8:06

St_W wrote:So now it's dkl's turn :-)

@Admin:
Should we file a bug report for that?
(I can do it)
counting_pine
Site Admin
Posts: 6211
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: FBC 1.00.0

Postby counting_pine » Oct 31, 2014 11:40

Good idea.
fxm
Posts: 9713
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FBC 1.00.0

Postby fxm » Oct 31, 2014 12:08

dkl
Site Admin
Posts: 3212
Joined: Jul 28, 2005 14:45
Location: Germany

Re: FBC 1.00.0

Postby dkl » Oct 31, 2014 15:07

Thanks for figuring out the test case that triggered the problem, it was most useful. The problem should be fixed in Git now. Apparently the macro recursion check was broken in combination with parser look-ahead, which is used more extensively since the recent changes in fbc 1.01 expression parsing.
MrSwiss
Posts: 3542
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: FBC 1.00.0

Postby MrSwiss » Nov 18, 2014 15:02

May be a bit offtopic:
The idea of releasing more often, warmed up again ...

Would it be to big an effort to: release a "bug-fixed" fbc (and maybe fixed "main" lib's,
like fbgfx) at a rate of let's say a 3 month frame, because not everybody here is comfy
with dev-builds ...

As a side effect, the recent changes whould be "more extensively" tested, too.

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests