Compiler Warning That C++ Style Comments Are Not Allowed In ISO C90 When Compiling With Tuxedo Include Files (Doc ID 2114211.1)

Last updated on MARCH 08, 2016

Applies to:

Oracle Tuxedo - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

When setting CFLAGS=-pedantic with either buildserver or buildclient commands , the gcc compiler outputs the following warning for atmi.h

buildclient -f simpcl.c -o simpcl
In file included from simpcl.c:15:

/home/Tuxedo/tuxedo12.1.3.0.0/include/atmi.h:387:21: warning: C++ style comments are not allowed in ISO C90
/home/Tuxedo/tuxedo12.1.3.0.0/include/atmi.h:387:21: warning: (this will be reported only once per input file)

This is a harmless warning message but it should be suppressed.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms