Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird message...
#1
Being the sadistic prick I am, I decided to test the new preprocessor built into FB. Took me some messing with to get it to work (didn't think it was case-sensitive, heh, but I guess it is after all), but when I did get it to work, I wanted to see if it truly worked...so, I included the new version of gdi32.bi and compiled it without win32types.bi being present (the new gdi32.bi requires inclusions from win32constants.bi and win32types.bi)...and I got this interesting response...

Quote:C:\freeBASIC-dev\freeBASIC>fbc test.bas
win32types.bi : error 24: File not found
win32types.bi(2) : error 10: Expected '=', found: 'As'
How could it generate an error on line 2 of a file that doesn't even exist? Big Grin

EDIT: Also, looks like you can't use underscores in the #DEFINEs:

Quote:user32.bi(10) : error 3: Expected End-of-Line, found: 'DEFINE'
I'd knock on wood, but my desk is particle board.
Reply
#2
Maybe a stupid question...

Are you using Von Godric's IDE?
Reply
#3
Umm...judging from the use of the command prompt shown in the quote, I'd have to say no. Big Grin Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#4
I've had the same error.

Quite confusing, as I only read the line number, and it happened to be an empty row Tongue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)