Re: Query related to definitions in aCC 3.27 (without -AA option) (63 Views)
Reply
Occasional Contributor
Sujata_1
Posts: 9
Registered: ‎09-06-2001
Message 1 of 2 (63 Views)

Query related to <cwchar> definitions in aCC 3.27 (without -AA option)


I am compiling a project on HPUX 11 with aCC 3.27 compiler. For compatability issues, I have a requirement that I should not use the -AA flag.

The problem I am facing is that certain definitions (wint_t, fgetwc fgetws etc) in file (in /opt/aCC/include directory) are not visible in my code because of #ifdef _HP_NAMESPACE_STD. This directive is defined only when -AA option is turned on.

I have defined my own std namespace as turning off -AA option doesn't provide namespace support at all.

Can somebody advise me how to proceed ?

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,697
Registered: ‎03-06-2006
Message 2 of 2 (63 Views)

Re: Query related to <cwchar> definitions in aCC 3.27 (without -AA option)

[ Edited ]

The functions in wchar.h you mention may not exist unless you are on 11.11 or later.
<cwchar> eventually just includes <wchar.h>.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation