Hello,

I have the following C++ code

#include <cstdlib>

void ::abort(void)
{
}


G++ gives the following error message 



‘void abort()’ conflicts with previous using declaration ‘void std::abort()’

Of course SunStudio compiles just fine the code. I have checked and it seems
that what the SunStudio compiler does is wrong! Now this is one little problem
I has to solve...

A.S.

----------------------
Apostolos Syropoulos
Xanthi, Greece

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to