Mail Archives: djgpp/1999/01/27/21:26:13
DooMWiz ha scritto nel messaggio ...
> [...]
> Well, either way, a library's filename
> got truncated to 8 characters, using
> the stupid tilde (~), because Win98 wanted
> it that way... Make sure you
> have the LFN line in djgpp.env set to Y if you're using WinZip.
I checked the LFN line in djgpp.env, and it was already set to “y”,
and I have no file truncated (since I used WinZip 7.0 to unzip all the
stuff).
The compiler seems to find the libraries, but it looks like they were
full of sintax errors(!), since the compiler returns a lot of
occurrences of a strange “parse error” when it tries to read the
libraries.
It happens any time I include a C++ library, even if I don't use any
C++ statement in my code, (even if I try to compile an empty program
like this:)
# include <iostream.h>
int main(void) {
}
When I remove the line
# include <iostream.h>
everything works fine.
I'm probably making a stupid mistake somewhere, or I have to use some
compiler switch to turn on C++ compilation...
> Sorry, but
> it's been so long since I had that problem, so I forgot the
filename.
> Hope that helps somewhat.
Thank you very much, your suggestion was very kind.
Bye, Emanuele.
- Raw text -