My Oracle Support Banner

The C++ Compiler Issues Error Compiling Headers When Using Symbols Beginning With an Underscore (Doc ID 1492968.1)

Last updated on JANUARY 05, 2024

Applies to:

Oracle Solaris Studio - Version Sun Studio 11 to 12.6 [Release 11.0 to 12]
Information in this document applies to any platform.

Symptoms

Code that uses preprocessor macros that define certain symbols beginning with an underscore fails to compile.

 

Example:

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.