Operating System - HP-UX
1834986 Members
2126 Online
110073 Solutions
New Discussion

Mojo classes do not compile with aCC

 
Laurent Laperrousaz
Regular Advisor

Mojo classes do not compile with aCC

I use STLport instead of HPUX STL and I want to install a patch which enhance performance on temporary classes. This patch is based on mojo.

I have a compiler error when compiling the STLport:

aCC -mt -ext +DA2.0 -AA -I../stlport +inst_close +O2 +Onolimit -z +Z dll_main.cpp -c -o ../lib/obj/ACC/ReleaseD/dll_main.o
Error 519: "../stlport/stl/mojo.h", line 106 # Non-type template arguments must be integral constant expressions, addresses of objects or functions with external linkage, or static class members.
enabled,
I join the 2 mojo includes.

Anybody can help solve this error?

Thank you
2 REPLIES 2

Re: Mojo classes do not compile with aCC

The best place to ask questions on aCC is the mailing list:

cxx-dev@cxx.cup.hp.com

To subscribe send mail to majordomo@cxx.cup.hp.com with the message SUBSCRIBE cxx-dev

With God, all things are possible
Steve Steel
Honored Contributor

Re: Mojo classes do not compile with aCC

Hi


http://www.pdc.kth.se/doc/SP/manuals/ibmcxx-3.6.6/html/language/ref/rnnontyp.htm

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)