f



[tao-bugs] Compiling TAO1.4.4 with AIX5.2 and g++3.3.1

     TAO VERSION: 1.4.4
     ACE VERSION: 5.4.4

     HOST MACHINE and OPERATING SYSTEM: RS6000, AIX5.2
         If on Windows based OS's, which version of WINSOCK do you
         use?:

     TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
     COMPILER NAME AND VERSION (AND PATCHLEVEL):
          GNU g++ 3.3.1

     CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform-
     specific file, simply state which one]:
          config-aix-5.x.h

     CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless
     this isn't used in this case, e.g., with Microsoft Visual C++):
          platform_aix_g++.GNU

     CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
     (used by MPC when you generate your own makefiles): No use of mpc.

     AREA/CLASS/EXAMPLE AFFECTED:
[What example failed?  What module failed to compile?]
             Compile Error of ORBInitializer_Registry.cpp and a lot of warnings about
             static Initializer.


     DOES THE PROBLEM AFFECT:
         COMPILATION?
             If so, what do your $ACE_ROOT/ace/config.h and
             $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
                     config-aix-5.x.h, platform_aix_g++.GNU with 'inline = 0'
         LINKING?
             On Unix systems, did you run make realclean first? Yes, a new Installation.
         EXECUTION?
         OTHER (please specify)?
[Please indicate whether ACE/TAO, your application, or both are affected.]

     SYNOPSIS:
             Compile error and warnings.

     DESCRIPTION:
  g++ -pthread -W -Wall -mcpu=common -DACE_AIX_VERS=502 -O2  -O2 -fno-exceptions -fcheck-new   -I/corba/v144/ACE_wrappers/ -I/corba/v144/ACE_wrappers/TAO -DACE_NDEBUG -DACE_USE_RCSID=0 -DACE_NO_INLINE 
    -I../.. -I/corba/v144/ACE_wrappers/TAO -DTAO_BUILD_DLL  -c  -o .shobj/ORBInitializer_Registry.o ORBInitializer_Registry.cpp
ORBInitializer_Registry.cpp:145: error: `TAO_ORBInitializer_Registry' was not
    declared in this scope
ORBInitializer_Registry.cpp:145: error: template argument 1 is invalid
ORBInitializer_Registry.cpp:145: error: `TAO_ORBInitializer_Registry' was not
    declared in this scope
ORBInitializer_Registry.cpp:145: error: template argument 1 is invalid
ORBInitializer_Registry.cpp:145: error: ISO C++ forbids declaration of `
    singleton_' with no type
ORBInitializer_Registry.cpp:145: error: explicit instantiation of non-template
    `int*singleton_'
/corba/v144/ACE_wrappers/TAO/tao/TAO_Singleton.cpp: In static member function `
    static TYPE* TAO_Singleton<TYPE, ACE_LOCK>::instance() [with TYPE =
    TAO::ORBInitializer_Registry, ACE_LOCK = ACE_Thread_Mutex]':
ORBInitializer_Registry.cpp:130:   instantiated from here
/corba/v144/ACE_wrappers/TAO/tao/TAO_Singleton.cpp:83: warning: sorry:
    semantics of inline function static data `ACE_Thread_Mutex*lock' are wrong
    (you'll wind up with multiple copies)
/corba/v144/ACE_wrappers/TAO/tao/TAO_Singleton.cpp:83: warning:   you can work
    around this by removing the initializer
gmake[1]: *** [.shobj/ORBInitializer_Registry.o] Error 1

     REPEAT BY:


     SAMPLE FIX/WORKAROUND:
        Change line 145 of ORBInitializer_Registry.cpp

   template TAO_Singleton<TAO_ORBInitializer_Registry, TAO_SYNCH_MUTEX> * TAO_Singleton<TAO_ORBInitializer_Registry, TAO_
         SYNCH_MUTEX>::singleton_;

in

   template TAO_Singleton<TAO::ORBInitializer_Registry, TAO_SYNCH_MUTEX> * TAO_Singleton<TAO::ORBInitializer_Registry, TAO_
         SYNCH_MUTEX>::singleton_;


Sorry, but I have a small question about the warnings
'semantics of inline function static data `ACE_Thread_Mutex*lock' are wrong '?
Is  g++3.3.1 not compliant with the C++ Standard,
  and what is the C++ Standard saying about static initializer?

0
Werner
2/15/2005 8:42:39 AM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
499 Views

Similar Articles

[PageSpeed] 22

Reply:

Similar Artilces:

RE: [tao-bugs] Compiling TAO1.4.4 with AIX5.2 and g++3.3.1 #2
Hi, > > I am not sure but I think I have seen this with VxWorks and > then we found > > this is a bug in the compiler. Could you try a newer > version of the GCC > > compiler. > > We don't have a newer GCC compiler at the moment, sorry. But > I will try > to convince our system administrator to install a newer. > But is this warning to take it seriously? > Nevertheless, TAO is working :-) I would advice to search on google, but what I remember we didn't take it seriously. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlands www.theaceorb.nl / www.remedy.nl ...

RE: [tao-bugs] Compiling TAO1.4.4 with AIX5.2 and g++3.3.1
Hi Werner, > TAO VERSION: 1.4.4 > ACE VERSION: 5.4.4 Thanks for using the PRF form. > HOST MACHINE and OPERATING SYSTEM: RS6000, AIX5.2 > If on Windows based OS's, which version of WINSOCK do you > use?: > > TARGET MACHINE and OPERATING SYSTEM, if different from HOST: > COMPILER NAME AND VERSION (AND PATCHLEVEL): > GNU g++ 3.3.1 > > CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to > a platform- > specific file, simply state which one]: > config-aix-5.x.h > > CONTENTS OF > $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless > this isn't used in this case, e.g., with Microsoft Visual C++): > platform_aix_g++.GNU > > CONTENTS OF > $ACE_ROOT/bin/MakeProjectCreator/config/default.features > (used by MPC when you generate your own makefiles): No > use of mpc. > > AREA/CLASS/EXAMPLE AFFECTED: > [What example failed? What module failed to compile?] > Compile Error of ORBInitializer_Registry.cpp and > a lot of warnings about > static Initializer. > > > DOES THE PROBLEM AFFECT: > COMPILATION? > If so, what do your $ACE_ROOT/ace/config.h and > > $ACE_ROOT/include/makeinclude/platform_macros.GNU contain? > ...

[tao-bugs] ACE+TAO+CIAO
Hi Since this is the season of giving, we are happy to announce a new beta of ACE-5.4.3, TAO-1.4.3 and CIAO-0.4.3, which resulted from a lot of hard work from OCI, Remedy, Riverace, the DOC group, and the open-source user community. This release corrects several bugs, adds many new features, and offers new or improved build support on a few new platforms, thanks to our sponsors and collaborators at Lockheed Martin, Qualcomm, Veritas, HP, and OSC. As usual the latest release is available at: http://deuce.doc.wustl.edu/Download.html The doxygen documentation for the beta will ...

Changing (1,2,3,4,5...) to (1,1,2,2,3,3,4,4,5,5...)
Hi All, I have a column vector of numbers that I would like to extrapolate by "doubling up": e.g. turn 2 4 6 8 into: 2 2 4 4 6 6 8 8 any ideas on an easy vectorised way to do this? TIA, Rob v=repmat([2; 4; 6; 8].',2,1); v=v(:) "Robert Barrie" <askme@ifuwant.com> wrote in message <hlt7kp$rut$1@fred.mathworks.com>... > Hi All, > > I have a column vector of numbers that I would like to extrapolate by "doubling up": > > e.g. turn > 2 > 4 > 6 > 8 > > into: > 2 > 2 > 4 > 4 > 6 > 6 > 8 >...

Newbie question; why (cons (list 1 2) (list 3 4)) is ((1 2) 3 4) and not ((1 2) (3 4))
Hi, I just started to learn LISP, and stumbled in SICP upon (cons (list 1 2) (list 3 4)) is evaluated to ((1 2) 3 4) I do not understand why this is not: ((1 2) (3 4)) because (cdr (cons (list 1 2) (list 3 4))) is (3 4) and (car (cons (list 1 2) (list 3 4))) is (1 2) Is there a logical explanation? Thank you for your patience. -- Greg Out of order, gregor <gregor@ediwo.com> writes: > Is there a logical explanation? Yes. > I just started to learn LISP, and stumbled in SICP...

[tao-users] Re: ACE+TAO+CIAO
Hi folks, It's been a long time (5 months) since we put out the x.4.2 ACE+TAO+CIAO beta, and the current x.4.3 beta contains many improvements, fixes, and new features. It would be great if you could put this through its paces and let us know what problems you find so we can fix them ASAP. We plan to release the x.4.4 beta fairly soon (i.e., within a month), so your thorough testing will greatly improve its stability and portabilty! Thanks very much, Doug >> Since this is the season of giving, we are happy to announce a new beta >> of ACE-5....

RE: [ace-users] Re: ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3) #2
Hi Colm, Ok, thanks for that explanation. I solved this a different way for a similar problem that showed up with Visual Age C++ on AIX 5.2... When the 5.4.5 beta comes out, please try this again and hopefully no further workarounds will be needed. Thanks, -Steve -- Steve Huston, Riverace Corporation Adding Service to Open Source Software ACE book info at http://www.riverace.com/acebooks/ > -----Original Message----- > From: Colm McHugh [mailto:cmchugh@callixa.com] > Sent: Wednesday, April 13, 2005 1:05 PM > To: Steve Huston > Cc: ace-users@cs.wustl.edu > Subject: Re: [ace-users] Re: ACE 5.4.0 won't compile after > GCC upgrade (3.3.3 -> 3.4.3) > > > > >Sure... Why do you say <sys/machine.h> is a prerequisite for > ><netinet/tcp.h>? I addressed a problem related to this in > the autoconf > >support for AIX that'll go in the next beta, but it doesn't involve > >machine.h. > > > Hi Steve, > > that statement is based on the compilation sequence shown > below (done on > an AIX 5.2): > > $ cat t2.cpp > #include <sys/machine.h> > #include <netinet/tcp.h> > int main() > {} > $ g++ t2.cpp > $ cat t1.cpp > #include <netinet/tcp.h> > int main() > {} > $ g++ t1.cpp > In file incl...

RE: [ace-users] Re: ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3) #2
Hi J.T., Right... The issue is a bit odd... Here's the check I added for ACE: dnl This check was added to work around a system-supplied header dnl (/usr/include/netinet/ip.h) that won't compile with Visual Age C++ dnl unless the _NO_BITFIELDS preprocessor macro is defined. The comments dnl there recommend use of _NO_BITFIELDS (and recode where needed to allow dnl that), but we won't just turn it on. Check to see if it's needed. Note dnl that this check is related to headers but done before we really know if dnl the header is present. Thus, if the bare compile fails, but succeeds dnl with _NO_BITFIELDS, set the flag, else leave things alone. -Steve -- Steve Huston, Riverace Corporation Adding Service to Open Source Software ACE book info at http://www.riverace.com/acebooks/ > -----Original Message----- > From: J.T. Conklin [mailto:jtc@acorntoolworks.com] > Sent: Wednesday, April 13, 2005 2:21 PM > To: Colm McHugh > Cc: Steve Huston; ace-users@cs.wustl.edu > Subject: Re: [ace-users] Re: ACE 5.4.0 won't compile after > GCC upgrade (3.3.3 -> 3.4.3) > > > Colm McHugh <cmchugh@callixa.com> writes: > >>Sure... Why do you say <sys/machine.h> is a prerequisite for > >><netinet/tcp.h>? I addressed a problem related to this in > the autoconf > >>support for AIX that'll go in the next beta, but it doesn't involve...

[ace-bugs] Many compiler warnings when compiling 5.4.4 with gcc 3.4.1
ACE VERSION: 5.4.4 HOST MACHINE and OPERATING SYSTEM: If on Windows based OS's, which version of WINSOCK do you use?: Solaris 2.8 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- specific file, simply state which one]: // The following configuration file is designed to work for SunOS 5.8 // (Solaris 8) platforms using the SunC++ 4.x, 5.x, 6.x, or g++ compilers. #ifndef ACE_CONFIG_H #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 1 // ACE_CONFIG_H is defined by one of the following #included headers. // #include the SunOS 5.8 config, then add any local updates below. #include "ace/config-sunos5.8.h" #define ACE_LACKS_ACE_IOSTREAM 1 #define ACE_LACKS_IOSTREAM_TOTALLY 1 #define ACE_NTRACE 0 // gcc doesn't define the following types typedef long t_scalar_t; /* historical versions */ typedef unsigned long t_uscalar_t; typedef void *timeout_id_t; typedef long blksize_t; /* used for block sizes */ #endif /* ACE_CONFIG_H */ CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless this isn't used in this case, e.g., with Microsoft Visual C++): linked to platform_sunos5_g++.GNU CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features (used by MPC when you generate your own...

Re: [ace-bugs] Many compiler warnings when compiling 5.4.4 with gcc 3.4.1
Hi Peter, Thanks for using the PRF. >> ACE VERSION: 5.4.4 >> >> HOST MACHINE and OPERATING SYSTEM: >> If on Windows based OS's, which version of WINSOCK do you >> use?: >> >> Solaris 2.8 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> >> CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- >> specific file, simply state which one]: >> >> // The following configuration file is designed to work for SunOS 5.8 >> // (Solaris 8) platforms using the SunC++ 4.x, 5.x, 6.x, or g++ compilers. >> >> #ifndef ACE_CONFIG_H >> >> #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 1 >> >> // ACE_CONFIG_H is defined by one of the following #included headers. >> >> // #include the SunOS 5.8 config, then add any local updates below. >> #include "ace/config-sunos5.8.h" >> >> #define ACE_LACKS_ACE_IOSTREAM 1 >> #define ACE_LACKS_IOSTREAM_TOTALLY 1 >> #define ACE_NTRACE 0 >> >> // gcc doesn't define the following types >> >> typedef long t_scalar_t; /* historical versions */ >> typedef unsigned long t_uscalar_t; >> typedef void *timeout_id_t; >> typedef long blksiz...

compiling gcc 3.2.3 on aix 4.3.2 using gcc 3.2.1
All, I am trying to compile gcc-3.2.3 on aix-4.3.2 using a prebuilt gcc-3.2.1. I am using GNU make, native as,ar,ld. There are the errors I get. Can anyone help? thx balaji $ gmake bootstrap gmake[1]: Entering directory `/mnt/gcc-3.2.3/aix/libiberty' gmake[2]: Entering directory `/mnt/gcc-3.2.3/aix/libiberty/testsuite' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/mnt/gcc-3.2.3/aix/libiberty/testsuite' gmake[1]: Leaving directory `/mnt/gcc-3.2.3/aix/libiberty' gmake[1]: Entering directory `/mnt/gcc-3.2.3/aix/zlib' : gmake ; exec true "AR_...

[ace-bug] Compile ACE 5.4 on AIX 5.2 with gcc 3.3.2
Failed to build ACE 5.4 on AIX 5.2 with gcc3.3.2 Used config-aix5.1.h and platform_aix_g++.GNU I failed with ACE5.1, 5.3 too, so I tried 5.4. Does anybody know IF it works ? Could it help to build my own AIX5.2 gcc ? (my gcc 3.3.2 is binary AIX 5.1 but it worked fine for Non-ACE- applications) Do I have to use IBM Visual C++ Compiler ? Any suggestions would be helpful. ACE VERSION: 5.4 HOST MACHINE and OPERATING SYSTEM: RS/6000, 32-bit-kernel mode, AIX5.2 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): ...

[tao-bugs] Compilation of TAO1.3.6 on AIX5.2 with gcc3.3.1
TAO VERSION: 1.3.6 ACE VERSION: 5.3.6 HOST MACHINE and OPERATING SYSTEM: IBM RS/6000, AIX5.2 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc 3.3.1 AREA/CLASS/EXAMPLE AFFECTED: $(TAO_ROOT)/tests/Collocation and other libs of $(TAO_ROOT)/orbsvcs/orbsvcs DOES THE PROBLEM AFFECT: COMPILATION? Yes. If so, what do your $ACE_ROOT/ace/config.h and $ACE_ROOT/include/makeinclude/platform_macros.GNU contain? platform_a...

[ace-users] Re: Error while ACE 5.3.1 or 5.4.1 compiling and installing by MinGW 3.3.3
Hi Vitaly, Please upgrade to ACE 5.4.4, which you can download from http://deuce.doc.wustl.edu/Download.html since I think that is more likely to work with MinGW 3.3.3. Johnny, can you confirm/deny this please? Thanks, Doug >> Hi, >> I have installed MinGW packages: >> >> binutils-2.13.90-20030111-1.tar.gz >> gcc-core-3.3.3-20040217-1.tar.gz >> gcc-g++-3.3.3-20040217-1.tar.gz >> mingw-runtime-3.3.tar.gz >> w32api-2.5.tar.gz >> >> Also I've configured environment due to ACE-INSTALL.html according >> MinGW compiler. OS: WinXP SP2. >> >> $ACE_ROOT=F:\ACE531 >> >> I get next compiling error: >> F:\ACE531\ace>gmake >> gmake.EXE[1]: Entering directory `F:/ACE531/ace' >> d:\Utils\Unix\diff.EXE: -: Invalid argument >> gmake.EXE[1]: Leaving directory `F:/ACE531/ace' >> gmake.EXE[1]: Entering directory `F:/ACE531/ace' >> d:/Utils/Unix/gmake.EXE -f Makefile.dirs SUBDIR_TARGET=all >> RMCast.subdir >> gmake.EXE[2]: Entering directory `F:/ACE531/ace' >> d:/Utils/Unix/gmake.EXE -f Makefile -C RMCast all >> gmake.EXE[3]: Entering directory `F:/ACE531/ace/RMCast' >> Installing libACE_RMCast.dll -> F:\ACE531/ace >> d:\Utils\Unix\cp.EXE: F:ACE531aceRMCast/libACE_RMCast.dll: No such >> file or directory >> Installing libACE_RMCa...

[ace-bugs] Error during compilation ACE-5.4.4 + TAO-1.4.4
--001485f99caa0c8d8c0475c7d5ee Content-Type: text/plain; charset=UTF-8 Hello,I'm trying to compile ACE-5.4.4+TAO-1.4.4 and I got an error while I trying to compile it: /home/mchacon/nextgen/extra/ACE_wrappers/ace/os_include/os_stropts.h:64:28: error: stropts.h: No such file or directory I use Fedora 11 with gcc 4.4.1 and I was searching in google and I found that there are some is issue about strems buffer in Linux, please take a look these links: http://www.archivum.info/comp.soft-sys.ace/2008-04/00069/Re:_[tao-users]_PRF:_Autobuild_on_Fedora_Rawhide_(GCC_4.3.0)_is_a_no-go https://bugzilla.redhat.com/show_bug.cgi?id=439403 Is there any workaround to fix it? I have the header in Fedora Core 3, but I trying to make it work in Fedora 11, Is it possible? Thanks and Regards! Salu2... masch... --001485f99caa0c8d8c0475c7d5ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello,<div>I&#39;m trying to compile ACE-5.4.4+TAO-1.4.4 and I got an error= while I trying to compile it:</div><div><br></div><div>/home/mchacon/nextg= en/extra/ACE_wrappers/ace/os_include/os_stropts.h:64:28: error: stropts.h: = No such file or directory</div> <div><br></div><div>I use Fedora 11 with gcc 4.4.1 and=C2=A0I was searching= in google and I found that there are some is issue about strems buffer in = Linux, please take a look these links:</div&g...

Re: [tao-bugs] Compilation of TAO1.3.6 on AIX5.2 with gcc3.3.1
Hi > TAO VERSION: 1.3.6 > ACE VERSION: 5.3.6 Thanks for using the PRF! > HOST MACHINE and OPERATING SYSTEM: > IBM RS/6000, AIX5.2 > > TARGET MACHINE and OPERATING SYSTEM, if different from HOST: > COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc 3.3.1 > > AREA/CLASS/EXAMPLE AFFECTED: > $(TAO_ROOT)/tests/Collocation > and other libs of $(TAO_ROOT)/orbsvcs/orbsvcs > > DOES THE PROBLEM AFFECT: > COMPILATION? Yes. > If so, what do your $ACE_ROOT/ace/config.h an...

Re: [tao-bugs] [ace-bugs]: Compiling ACE 5.4.3 failed #2
TG- Thanks for the report. Could you please download things again from http://deuce.doc.wustl.edu/Download.html Please let me know if this works. If it works, I can update the archives that have the older versions. Thanks Bala > > First of all, I wish you a Happy New Year. > > > > ACE VERSION: 5.4.3 > > HOST MACHINE and OPERATING SYSTEM: > i86 LINUX 2.6.5-7,111 SUSE 9.1 > i86 LINUX 2.6.8-24 SUSE 9.2 > > TARGET MACHINE and OPERATING SYSTEM, if different from HOST: > COMPILER NAME AND VERSION (AND PATCHLEVEL): >...

ACE 5.4.2 + TAO 1.4.2 client, ORBacus 4.1.2 NameService, and JACOrb 1.4.1 servants
Hi everyone, Background: ----------- I'm very new to CORBA, ACE & TAO. I'm trying to integrate with a 3rd party system which exposes a CORBA object model to clients. This system is composed of JACOrb 1.4.1 servers registering with an ORBacus 4.1.2 NameService. We've got existing software that uses ACE 5.4.2, and the 3rd party documentation mentions that people have used TAO (no version specified) previously to integrate with their system, so I'm trying out TAO 1.4.2 as a natural solution to the problem. Environment Specifics: ---------------------- - ACE 5.4.2 + TAO 1.4.2 clients - running on a variant of RedHat Enterprise Linux 4.x (x86 platform) - compiled with gcc-c++-3.4.3-22.1 - ORBacus 4.1.2 NameService, and JACorb 1.4.1 servants (the 3rd Party stuff) - running on SunOS 5.9 What I'm trying to do: ---------------------- To get started, I'm trying to create a simple "hi3rdParty" app which acquires a reference to the remote ORBacus NameService so that I can then get at the other services. Here's the code I'm using: try { // ------ begin common CORBA init -------- // First initialize the ORB - that will remove some arguments... // NOTE: we're gonna try and use "-ORBInitRef NameService=corbaloc:iiop:theServer:5000/NameService" // to find the naming service. CORBA::ORB_var orb = CORBA::ORB_init(argc, argv, "&quo...

[ace-users] ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3)
[Apologies if this shows up twice, there was a mailer error with my first attempt to post] Hi, I found the same problem reported recently on the mailing list ("compiling ACE under Fedora core 3", March 1st) but no resolution was reported there, so I thought I'd post a full description here. ACE VERSION: 5.4 HOST MACHINE and OPERATING SYSTEM: AIX 5.1 COMPILER: GNU GCC G++ 3.4.3 CONTENTS OF $ACE_ROOT/ace/config.h: // config-aix5.1.h,v 1.5 2003/12/16 17:49:48 elliott_c Exp // // Config file for AIX 5.1 // This define is needed for building with Visual Age C++ 5 in incremental // mode. In the batch mode build, platform_aix_ibm.GNU sets it. The incremental // mode compiler won't be supported after ACE 5.3, so this will also go away // in that timeframe, so don't worry about future AIX versions. #if !defined (ACE_AIX_VE...

Is there any difference of g++ 3.4.3 and g++ 3.3.4 ?
HI, my source code was compiled ok in g++ 3.3.4 . But when I try to use 3.4.3 to compile, I get the following error: Utility.h: In constructor `Buffer<size>::Buffer(const char*)': Utility.h:174: error: `buffer' undeclared (first use this function) Utility.h:174: error: (Each undeclared identifier is reported only once for each function it appears in.) Utility.h:176: error: no matching function for call to `strchr(<type error>, char)' /usr/include/iso/string_iso.h:130: note: candidates are: char* strchr (const char*, int) /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/.....

[ace-users] Re: ACE 5.4 compiling problems with g++ 3.4.3
Hi Klaus, First, please use the problem-report-form when asking questions. ACE 5.4 is not supported with newer GCC versions. All these issues are resolved in the upcoming x.4.3 release. For the time being, try to add the following to your config.h # if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS # endif /* __GNUC__ >= 3.4 */ You are correct, the download link doesn't work. Bala, do you have an idea what is happening with the download links. Regards, Johnny Willemsen Remedy IT ...

[ace-users] Re: ACE 5.4.0 won't compile after GCC upgrade (3.3.3 -> 3.4.3)
Hi Tom, > Well, the definition of "production release" for ACE is a bit murky > imho. Please see http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-development-process.html for the canonical definition of terms. If there's something unclear there please let me know and I'll fixit. > The developers on this list (almost) always recommend using the > latest package, which is typically labeled a "beta release". Right, the reason we do that is because the "latest release" (which is most commonly a beta release) is the only thing the DOC group developers "support". > The latest would be 5.4.4. The developers always recommend *not* > using the "production release", since the next release labeled > "beta" is always a bug-fix-only release. So I usually use the x.x.1 > release (the BFO release) but would probably recommend using 5.4.4 > on any platform, as do the developers. I think you probably know this already, but for the benefit of others on the mailing list the DOC grou doesn't actually support *anything* officially for non-sponsors, i.e., our work is all on a "best effort or no effort at all" basis, as per the explanation in http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-bug-process.html However, some companies like Riverace, OCI, PrismTech, etc. use our "official" (i.e., non-beta) releases as the basis f...

Error while ACE 5.3.1 or 5.4.1 compiling and installing by MinGW 3.3.3
Hi, I have installed MinGW packages: binutils-2.13.90-20030111-1.tar.gz gcc-core-3.3.3-20040217-1.tar.gz gcc-g++-3.3.3-20040217-1.tar.gz mingw-runtime-3.3.tar.gz w32api-2.5.tar.gz Also I've configured environment due to ACE-INSTALL.html according MinGW compiler. OS: WinXP SP2. $ACE_ROOT=F:\ACE531 I get next compiling error: F:\ACE531\ace>gmake gmake.EXE[1]: Entering directory `F:/ACE531/ace' d:\Utils\Unix\diff.EXE: -: Invalid argument gmake.EXE[1]: Leaving directory `F:/ACE531/ace' gmake.EXE[1]: Entering directory `F:/ACE531/ace' d:/Utils/Unix/gmake.EXE -f Makefile.dirs SUBDIR_TARGET=all RMCast.subdir gmake.EXE[2]: Entering directory `F:/ACE531/ace' d:/Utils/Unix/gmake.EXE -f Makefile -C RMCast all gmake.EXE[3]: Entering directory `F:/ACE531/ace/RMCast' Installing libACE_RMCast.dll -> F:\ACE531/ace d:\Utils\Unix\cp.EXE: F:ACE531aceRMCast/libACE_RMCast.dll: No such file or directory Installing libACE_RMCast.dll -> F:\ACE531/ace d:\Utils\Unix\cp.EXE: F:ACE531aceRMCast/libACE_RMCast.dll: No such file or directory gmake.EXE[3]: *** [F:\ACE531/ace/libACE_RMCast.dll] Error 1 gmake.EXE[3]: Leaving directory `F:/ACE531/ace/RMCast' gmake.EXE[2]: *** [RMCast.subdir] Error 2 gmake.EXE[2]: Leaving directory `F:/ACE531/ace' gmake.EXE[1]: *** [all.nested] Error 2 gmake.EXE[1]: Leaving directory `F:/ACE531/ace' d:\Utils\Unix\gmake.EXE: *** [all] Error 2 There are no folder separators in path (for exampl...

Re: [ace-users] Re: ACE 5.4 compiling problems with g++ 3.4.3
Hi > First, please use the problem-report-form when asking questions. ACE 5.4 is > not supported with newer GCC versions. All these issues are resolved in the > upcoming x.4.3 release. > > For the time being, try to add the following to your config.h > > # if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) > # define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS > # endif /* __GNUC__ >= 3.4 */ > > You are correct, the download link doesn't work. Bala, do you have an idea > what is happening with the downlo...

Web resources about - [tao-bugs] Compiling TAO1.4.4 with AIX5.2 and g++3.3.1 - comp.soft-sys.ace

Resources last updated: 3/5/2016 6:29:20 PM