Hello guys!
I'm compiling a C++ code in Solaris and a strange thing is happening.
g++ says that almost every method used from external libraries as undefined.
For example:
To use the method "kill" in C/C++, i must include the lib "signal.h".
So, i include the lib ans use the method but, when i run the g++ compiler, he says that the method kill is undefined.
But, if i redeclare the kill prototype in my header code, everything works well.
I imagine that some Solaris flag is not set and, once almost all methods in Linux libraries are enclosed of macros, maybe this flag are avoiding the lib header not enter in some macro.
I already compiled this code in Linux and AIX, and didn't have this kind of problem.
Thank you guys for your attention!