BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

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

Occasional Contributor

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 ?

1 REPLY
Highlighted
Acclaimed Contributor

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>.