Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Bug_3513_Regression / README
bloba9fbc269c5802cadd18703c91664384d5092bb7a
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,
9                  from testC.cpp:32:
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,
12                  from testC.cpp:32:
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,
15                  from testC.cpp:32:
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,
18                  from testC.cpp:32:
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,
21                  from testC.cpp:32:
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,
24                  from testC.cpp:32:
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
27 ...
28 etc...