IBM C++ 3.6.6 (xlC) Compiler error on AIX 4.3

IBM C++ 3.6.6 (xlC) Compiler error on AIX 4.3

Post by Wolfgang Schule » Fri, 09 Jul 1999 04:00:00



If I include strings.h after  X11/Xlibint.h

#include <X11/Xlibint.h>
#include <strings.h>
int main(void)
{

Quote:}

I got the compiler error:

"/usr/include/strings.h", line 59.17: 1540-263: (S) Syntax error -
expected "expression" or ")" and found "const".
"/usr/include/strings.h", line 60.38: 1540-090: (S) Syntax error -
expected "(" and found "*".
"/usr/include/strings.h", line 61.24: 1540-090: (S) Syntax error -
expected "(" and found "*".

Does anybody know why? (No error if strings.h is included before
X11/Xlibint.h)

Thanks

 
 
 

1. Differences between the xlC 3.1.4 and 3.6.4 compilers on AIX 4.3

                                                Hello!!!
I have a strange (strange to me) problem with AIX xlC compiler.
I used xlC 3.1.4 so far and everything was ok, now I have xlC v 3.6.4, so I
recompiled all my source files, and rebuilt static library  in my project,
but the executable file doesn't work. It causes core dump (signal no 11 -
segmentation fault) and I don't know why??? I noticed that the problem
appears if I try to link functions from my static library (compiled with the
same xlC 3.6.4 compiler). It doesn't work  even if cout<<"Hello World"; is
the only line in "main". I don't use the the "ld" linker explicite.

My Regards
Hicnar

2. UNIX SYSTEMS ADMINISTRATION CONTRACT - CHICAGO

3. IBM C compiler on AIX 4.3

4. mutt and star office

5. IBM-ERS Security Vulnerability Alert: IBM AIX 4.3.x: Remote buffer overflow in ftp daemon

6. can anyone get me some info about .o format.

7. create a shared library on AIX 4.3 with xlC

8. Help still needed with Virtual Hosts

9. Differences between xlC v3.1.4 and 3.6.4 on AIX 4.3

10. Store Procedure Builder hangs (AIX 4.3, DB2 v.7.1, XLC)

11. PB Licensing IBM XLC 3.6 and IBM XLFortran 5.1 for AIX

12. C++ compiler for 4.3?

13. IBM VisualAge C++ for AIX Offers a Traditional Makefile-based Compiler