3 This is a compile only test. If it compiles, it's passed. It checks that you can have an include for PortableServer.pidl, and other 'unsafe' files, in a user file if it is guarded or ifdef'd out.
5 If it's failing you'll see something like the follwing if you build it:
7 g++ -fvisibility=hidden -fvisibility-inlines-hidden -W -Wall -Wpointer-arith -ggdb -pipe -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/home/sm/doccvs/ACE_wrappers -DACE_HAS_EXCEPTIONS -DACE_NO_INLINE -I../../.. -I../.. -c -o .obj/testC.o testC.cpp
8 In file included from testC.h:68,
10 ../../tao/PortableServer/PortableServerC.h:37:2: error: #error You should not include PortableServer/PortableServerC.h, use tao/PortableServer/PortableServer.h
11 In file included from testC.h:69,
13 ../../tao/ObjRefTemplate/ObjectReferenceTemplateC.h:37:2: error: #error You should not include ObjRefTemplate/ObjectReferenceTemplateC.h, use tao/ObjRefTemplate/ObjectReferenceTemplate.h
14 In file included from testC.h:72,
16 ../../tao/CodecFactory/IOP_CodecC.h:37:2: error: #error You should not include CodecFactory/IOP_CodecC.h, use tao/CodecFactory/CodecFactory.h
17 In file included from testC.h:73,
19 ../../tao/RTCORBA/RTCORBAC.h:37:2: error: #error You should not include RTCORBA/RTCORBAC.h, use tao/RTCORBA/RTCORBA.h
20 In file included from testC.h:74,
22 ../../tao/RTPortableServer/RTPortableServerC.h:37:2: error: #error You should not include RTPortableServer/RTPortableServerC.h, use tao/RTPortableServer/RTPortableServer.h
23 In file included from testC.h:75,
25 ../../tao/RTScheduling/RTSchedulerC.h:37:2: error: #error You should not include RTScheduling/RTSchedulerC.h, use tao/RTScheduling/RTScheduler.h
26 make[1]: *** [.obj/testC.o] Error 1