Search found 1781 matches

by coderJeff
Sep 17, 2018 10:49
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1425

Re: Feature request: instrisic Defines for console / gui mode

Sorry, I should have seen earlier. __FB_GUI__ needs to be added to doc\manual\templates\default\keywords.lst. This file is used to normalize the case of keywords in documentation pages, titles, links, examples. Can get this fixed on the next wiki snapshot.
by coderJeff
Sep 15, 2018 11:30
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1425

Re: Feature request: instrisic Defines for console / gui mode

@marpon, you are welcome. I learned some new things too. In future I will try to give better guidance/instruction. The quality of pull request could be improved. But we all have to start somewhere. @St_W, yea, having a merge from marpon:master to fbc:master was a little different than what I usually...
by coderJeff
Sep 14, 2018 0:40
Forum: Documentation
Topic: Wiki improvements
Replies: 232
Views: 9454

Re: Wiki improvements

What do you all think? Yes, for something like overloading new[]/delete[], we can probably assume that the reader can make sense of the syntax and usage, and they will benefit from a more complex usage. In comparison, for some simple examples, I think we are only trying to help the reader to see ho...
by coderJeff
Sep 14, 2018 0:30
Forum: General
Topic: Bug fix for debugging lines inside include files
Replies: 15
Views: 626

Re: Bug fix for debugging lines inside include files

SARG, your latest patch now merged to fbc master. Thanks.
by coderJeff
Sep 14, 2018 0:08
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1425

Re: Feature request: instrisic Defines for console / gui mode

Not sure where this topic is going on SLEEP or what all the ultimate needs are, but for the "__FB_GUI__" addition, it will tell the programmer, at compile time, if '-s gui' was passed on the command line, that's it. What programmers use it for, I leave up to them. sleep interception not so...
by coderJeff
Sep 13, 2018 13:37
Forum: General
Topic: Bug fix for debugging lines inside include files
Replies: 15
Views: 626

Re: Bug fix for debugging lines inside include files

Thanks SARG. I've created a pull request https://github.com/freebasic/fbc/pull/99 with your latest patch.

I have a feeling this is not the last we will see with this area of the compiler, but I think it gets us closer to how fbc works with include files and debug information.
by coderJeff
Sep 12, 2018 11:46
Forum: Community Discussion
Topic: Feature request: instrisic Defines for console / gui mode
Replies: 54
Views: 1425

Re: Feature request: instrisic Defines for console / gui mode

@marpon, this looks like a reasonable request. Keep in mind, there are some caveats as mentioned by members here. As fxm points out, because -s console is "default" on all platforms, only one new define is needed. As St_W points out, __FB_SUBSYSTEM__ = <string> is more flexible. If other s...
by coderJeff
Sep 12, 2018 10:46
Forum: General
Topic: Bug fix for debugging lines inside include files
Replies: 15
Views: 626

Re: Bug fix for debugging lines inside include files

Thanks SARG. I have been investigating this last patch. You probably already know, because I see you had code in fbdebugger (now commented) to handle stabs BINCL, EINCL, EXCL tags. BINCL & EINCL purpose is to remove duplicate debug information from multiple modules (object files) at link time, r...
by coderJeff
Sep 09, 2018 21:56
Forum: General
Topic: Bug fix for debugging lines inside include files
Replies: 15
Views: 626

Re: Bug fix for debugging lines inside include files

oops! I already merged in the changes. I should have waited for your comments, sorry. I don't think it necessary to revert the changes, though. Sounds good, whenever you have next update ready.
by coderJeff
Sep 09, 2018 19:15
Forum: General
Topic: Bug fix for debugging lines inside include files
Replies: 15
Views: 626

Re: Bug fix for debugging lines inside include files

I started a pull request for this patch at https://github.com/freebasic/fbc/pull/96 This update seems to work well. Because fbc collects all the module level statements in to an implicit main, I was specifically looking to see what GDB reports when generating a backtrace. The root level call will al...
by coderJeff
Sep 03, 2018 3:12
Forum: General
Topic: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken
Replies: 94
Views: 2653

Re: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken

Merged to fbc/master in git: - added '-w none' option to suppress warnings. 'none' is based on warning level and is a better way of saying '-w <level>' where level has sufficiently high value to suppress warnings...etc - warnings generated by default now are same again as fbc 1.05/pre-August 1.06 - ...
by coderJeff
Sep 03, 2018 3:09
Forum: General
Topic: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken
Replies: 94
Views: 2653

Re: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken

I think it fair to consider the proposal of changing the default warnings a separate matter from this update. The warnings shown by default hasn't changed in 10+ years. This is something new. On one extreme, there are users like myself that prefer to work directly with the abstract types, and find t...
by coderJeff
Sep 03, 2018 3:03
Forum: General
Topic: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken
Replies: 94
Views: 2653

Re: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken

IIRC the page's error/warning messages are automatically extracted from fbc source code, so you probably shouldn't change those parts of that page manually. Yes, thanks. I was going to update the page with the auto tool, and was thinking I could automatically generate links to pages that describe e...
by coderJeff
Sep 02, 2018 4:00
Forum: General
Topic: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken
Replies: 94
Views: 2653

Re: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken

Normally, a relevant code (I think) does not produce any warning, especially after having apply the right syntax of operator Cast/Cptr if necessary. That's why I'm still wondering if the compilation options 'constins' and 'funcptr' should not be added to the list of current options enabled by the '...
by coderJeff
Sep 02, 2018 3:52
Forum: General
Topic: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken
Replies: 94
Views: 2653

Re: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken

I personally use the pedantic option because I want to be warned of all the potential errors. ... -w option and it says "A significantly high level value will have the effect of suppressing all warning messages." Maybe we can tell them to use this option if the warnings annoy them? This m...

Go to advanced search