Compile error in C++ 5.8 when using typedef
Hello all,
I am new to using Sun Studio 11 C++ 5.8 compiler.
an error occurs to me when I put this line on my header file
typedef DWORD int;
line6: Error: "," expected instead of "int".
When I replace the line with this line
typedef DWORD ,;
then the error disappers.
I tried compiling it using g++ and I encounter no problems.
I am using Solaris 10 and I installed patched the C++ 5.8 compiler with patch 121017-10
I don't know what is causing the problem..
Please help.
Thanks in advance.
Marc Glenn

