Qbasicnews.com

Full Version: Bug report fbc.bas v0.13
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Command line syntax –x libmylib.a

Hi:

If you use –x libmylib.a to name the output file when building a static lib, libmylib.a is misidentified as an included lib, and pulled out of the command line in “function listFiles as integer”. The compiler will then abort in “function processOptions as integer” because the –x option with no name will look like invalid syntax.

I put in a test for –x in listFiles() and all worked well.

Have fun

Garvan
True, files were being parsed before options.. fixed, thanks.