|
From: Opacki, J. <Jos...@ng...> - 2003-12-01 14:02:48
|
Jo,
That seemed to do it, the strange thing is that I am not including winnt.h?
Gracias!
Joe
-----Original Message-----
From: jo mateix [mailto:non...@ho...]
Sent: Wednesday, November 26, 2003 3:08 PM
To: dev...@li...
Subject: Re: [Dev-C++] enum problem???
Hello
I think I've found the problem: One of your Choices' enums is a macro. I've
found DELETE defined at winnt.h. I don't know what it is used for, or how it
is included, but if you delete DELETE, or rename it, your program compiles.
bye
>
>I'm experience an error that I am completely unfamiliar with. If someone
>can help me, please do so. I've listed the error lines and the compile log
>directly below...and for the really brave, I've placed the whole program at
>the bottom.
>
>Line 19: enum Choices { TEXTFILE = 1, UPDATE, NEW, DELETE, END };
>...
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|