News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

"ISO C++ forbids declaration of ... with no type"

Started by rodrigo.canellas, September 25, 2007, 08:26:09 PM

Previous topic - Next topic

rodrigo.canellas

Hi,

I am using 'mingw32-g++.exe' version "3.4.2 (mingw-special)", which is reporting the compiler error "ISO C++ forbids declaration of `SCARDHANDLE' with no type"

I tried to find something in the web, but nothing resulted.

This code compiles fine in MS Visual Studio 2005.

Thanks!

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

rodrigo.canellas


thomas

#3
No.
But the error message is clear. The type is not defined (which should be the case). Either you forgot to include mentioned header, or the version in MinGW does not contain that particular typedef (in which case you can copy it from the platform SDK).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."