[Ace-users] Problem: ISO C++ forbids declaration of `ACE_Cached_Allocator' with no type
maxim.bakushin at gmail.com
Wed Nov 21 14:36:29 CST 2007
On Nov 21, 10:15 pm, "Johnny Willemsen" <jwillem... at remedy.nl> wrote:
> > Johnny, thanks for response.
> > 1. I did not compiled this source with MSVC. I do not have ACE
> > customized and compiled for WinXP, but only for VxWorks 6.4. My target
> > machine runs VxWorks 6.4.
> > 2. This code was compiled successfully before under VxWorks 5.5.1 with
> > Wind River - supplied GCC 2.96.
> But probably with an older ACE version
> > 3. After removing the #include <vxworks.h> directive, I've got the
> > same errors.
> > 4. Additionally, I have tried to declare and instantiate a STL vector
> > instead of ACE_Cached_Allocator - the code was compiled without any
> > problem.
> Make sure you explicitly include all files for all ACE types. We can test
> this at our side with VxWorks 6.4, but only as part of our commercial
> support services, seewww.theaceorb.nl. The VxWorks port is tim consuming
> and costly, we don't deliver free support. See also our website for what we
> offer to sponsors.
> Johnny Willemsen
> Remedy IT
> Postbus 101
> 2650 AC Berkel en Rodenrijs
> The Netherlandswww.theaceorb.nl/www.remedy.nl
> *** Integrated compile and test statistics seehttp://scoreboard.theaceorb.nl***
> *** Commercial service and support for ACE/TAO/CIAO ***
> *** Seehttp://www.theaceorb.nl/en/support.html ***
The problem was solved after I've added #include's for ace/Malloc_T.h
More information about the Ace-users