Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Sujata_1
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
Dennis Handly
Acclaimed Contributor

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

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