Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ace-bugs] ACE 6.2.7 compilation issue with MinGW i686-posix-dwarf-rev3 g++ 4.8.2

396 views
Skip to first unread message

Dario Maggiari

unread,
Jul 16, 2014, 8:58:48 AM7/16/14
to ace-...@list.isis.vanderbilt.edu
Hi!

I've tried to compile ACE+TAO under. Windows 7 with MinGW. I'm using MinGW i686-posix-dwarf-rev3 g++ 4.8.2. Th report:
ACE VERSION: 6.2.7

HOST MACHINE and OPERATING SYSTEM: Windows 7

COMPILER NAME AND VERSION (AND PATCHLEVEL): MinGW i686-posix-dwarf-rev3 g++ 4.8.2 inside MSYS 1.0.11. 
 
THE $ACE_ROOT/ace/config.h FILE CONTENT: 

#include "ace/config-win32.h"

THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE CONTENT: 

INSTALL_PREFIX = /mingw32/i686-w64-mingw32
include $(ACE_ROOT)/include/makeinclude/platform_mingw32.GNU

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features: not applied

AREA/CLASS/EXAMPLE AFFECTED: ACE COMPILATION.

SYNOPSIS:

Compilation fail instantly with next errors.

DESCRIPTION:
make[1]: Entering directory `/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace'
make[1]: Entering directory `/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/QtReactor'
ACE_Qt4Reactor_moc will not be built due to the following disabled make macros: qt4

GNUmakefile: /sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/QtReactor/GNUmakefile.ACE_Qt4Reactor_moc MAKEFLAGS=w --jobserver-fds=4,5 -j
GNUmakefile: /sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/GNUmakefile.ACE MAKEFLAGS=w --jobserver-fds=4,5 -j

make[1]: Leaving directory `/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/QtReactor'
g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas   -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE -I.. -DACE_BUILD_DLL  -c  -o .shobj/Name_Proxy.o Name_Proxy.cpp

g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas   -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE -I.. -DACE_BUILD_DLL  -c  -o .shobj/Name_Space.o Name_Space.cpp
g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas   -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE -I.. -DACE_BUILD_DLL  -c  -o .shobj/Naming_Context.o Naming_Context.cpp
g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas   -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE -I.. -DACE_BUILD_DLL  -c  -o .shobj/Registry_Name_Space.o Registry_Name_Space.cpp
In file included from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr-default.h:35:0,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr.h:148,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ext/atomicity.h:35,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/bits/ios_base.h:39,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ios:42,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ostream:38,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/iterator:64,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/String_Base.h:26,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:23,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Service_Gestalt.h:26,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Service_Config.h:21,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Proxy.h:32,
                 from Name_Proxy.cpp:3:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected unqualified-id before 'char'
   char *strtok_r (char *s, const char *tokens, char **lasts);
                                                ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected ')' before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected ')' before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected initializer before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected unqualified-id before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected ')' before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected ')' before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected initializer before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
In file included from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr-default.h:35:0,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr.h:148,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ext/atomicity.h:35,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/bits/ios_base.h:39,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ios:42,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ostream:38,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/iterator:64,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/String_Base.h:26,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:23,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Space.h:24,
                 from Name_Space.cpp:4:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected unqualified-id before 'char'
   char *strtok_r (char *s, const char *tokens, char **lasts);
                                                ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected ')' before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected ')' before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected initializer before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected unqualified-id before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected ')' before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected ')' before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected initializer before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_stdlib.h:275:15: error: expected unqualified-id before 'unsigned'
   int rand_r (unsigned int *seed);
               ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_stdlib.h:275:15: error: expected ')' before 'unsigned'
make[1]: *** [.shobj/Name_Space.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [.shobj/Name_Proxy.o] Error 1
In file included from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr-default.h:35:0,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr.h:148,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ext/atomicity.h:35,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/bits/ios_base.h:39,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ios:42,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ostream:38,
                 from C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/iterator:64,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Array_Base.h:26,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Containers_T.h:31,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Containers.h:67,
                 from C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Get_Opt.h:19,
                 from Naming_Context.cpp:3:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_stdlib.h:275:15: error: expected unqualified-id before 'unsigned'
   int rand_r (unsigned int *seed);
               ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_stdlib.h:275:15: error: expected ')' before 'unsigned'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected unqualified-id before 'char'
   char *strtok_r (char *s, const char *tokens, char **lasts);
                                                ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected ')' before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected ')' before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:444:48: error: expected initializer before 'char'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected unqualified-id before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected ')' before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected ')' before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:317:23: error: expected initializer before 'wchar_t'
 #  define ACE_WCHAR_T wchar_t
                       ^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_NS_string.h:449:65: note: in expansion of macro 'ACE_WCHAR_T'
   wchar_t *strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts);
                                                                 ^
make[1]: *** [.shobj/Naming_Context.o] Error 1
make[1]: Leaving directory `/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace'
make: *** [ACE] Error 2
FAILED to compile /sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace!

Can you help me?

Many thanks!

Bye, Dario


  

Dario Maggiari

unread,
Jul 17, 2014, 7:11:39 AM7/17/14
to Jani Hakala, ace-...@list.isis.vanderbilt.edu
On 07/17/2014 02:25 AM, Jani Hakala wrote:
>
> I have recently cross-compiled ACE 6.2.6 with gcc targeting 32bit
> windows (--with-dwarf2 --disable-libgomp --enable-lto and Thread model:
> win32), so it probably works also with native mingw i686-win32-dwarf
> gcc. I haven't compiled ACE 6.2.7 though.
>
> Jani Hakala
>
Hi Jani

Thanks for your response. I've tried right now the 6.2.6 version and we
get others errors:

ACE_Qt3Reactor_moc will not be built due to the following disabled make
macros: qt
GNUmakefile:
/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/GNUmakefile.ACE
MAKEFLAGS=w --jobserver-fds=4,5 -j
g++ -Wpointer-arith -mthreads -mtune=pentiumpro -Wno-attributes -Wall -W
-O3 -g -pipe -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
-I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers
-DACE_HAS_EXCEPTIONS -DACE_NO_INLINE -I.. -DACE_BUILD_DLL -c -o
.shobj/Local_Name_Space.o Local_Name_Space.cpp

GNUmakefile:
/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/GNUmakefile.ACE_Qt3Reactor_moc
MAKEFLAGS=w --jobserver-fds=4,5 -j
g++ -Wpointer-arith -mthreads -mtune=pentiumpro -Wno-attributes -Wall -W
-O3 -g -pipe -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
-I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers
-DACE_HAS_EXCEPTIONS -DACE_NO_INLINE -I.. -DACE_BUILD_DLL -c -o
.shobj/Name_Proxy.o Name_Proxy.cpp

make[1]: Leaving directory
`/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace'
g++ -Wpointer-arith -mthreads -mtune=pentiumpro -Wno-attributes -Wall -W
-O3 -g -pipe -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
-I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers
-DACE_HAS_EXCEPTIONS -DACE_NO_INLINE -I.. -DACE_BUILD_DLL -c -o
.shobj/Name_Request_Reply.o Name_Request_Reply.cpp
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/config-all.h:89:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Log_Msg.h:21,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Malloc.h:24,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Malloc_T.h:18,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Local_Name_Space.h:20,
from Local_Name_Space.cpp:1:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:192:18:
error: variable 'ACE_Proper_Export_Flag ACE_Main_Base' has initializer
but incomplete type
class ACE_Export ACE_Main_Base
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:192:18:
warning: extended initializer lists only available with -std=c++11 or
-std=gnu++11 [enabled by default]
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected primary-expression before 'public'
public:
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected '}' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected ',' or ';' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:196:26:
error: expected class-name before '(' token
virtual ~ACE_Main_Base ();
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:198:35:
error: 'virtual' outside class declaration
virtual int run_i (int, char *[]) = 0;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:198:39:
error: function 'int run_i(int, char**)' is initialized like a variable
virtual int run_i (int, char *[]) = 0;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:199:1:
error: expected declaration before '}' token
};
^
make[1]: *** [.shobj/Local_Name_Space.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++ -Wpointer-arith -mthreads -mtune=pentiumpro -Wno-attributes -Wall -W
-O3 -g -pipe -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
-I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers
-DACE_HAS_EXCEPTIONS -DACE_NO_INLINE -I.. -DACE_BUILD_DLL -c -o
.shobj/Name_Space.o Name_Space.cpp
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_unistd.h:27:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_limits.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:58,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Sock_Connect.h:25,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/INET_Addr.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Proxy.h:24,
from Name_Proxy.cpp:3:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_types.h:141:25:
error: conflicting declaration 'typedef long unsigned int useconds_t'
typedef unsigned long useconds_t;
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_types.h:30:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_unistd.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_limits.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:58,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Sock_Connect.h:25,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/INET_Addr.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Proxy.h:24,
from Name_Proxy.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:84:22: error:
'useconds_t' has a previous declaration as 'typedef unsigned int useconds_t'
typedef unsigned int useconds_t;
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_wait.h:27:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_stdlib.h:28,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:60,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Sock_Connect.h:25,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/INET_Addr.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Proxy.h:24,
from Name_Proxy.cpp:3:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:201:6:
error: 'sigset_t' does not name a type
sigset_t sa_mask;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:234:19:
error: 'sigset_t' was not declared in this scope
int sigwait (sigset_t *set);
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:234:29:
error: 'set' was not declared in this scope
int sigwait (sigset_t *set);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:31,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_wait.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_stdlib.h:28,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:60,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Sock_Connect.h:25,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/INET_Addr.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Proxy.h:24,
from Name_Proxy.cpp:3:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:239:7:
error: expected unqualified-id before numeric constant
int pthread_sigmask(int, const sigset_t *, sigset_t *);
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/config-all.h:89:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/netinet/os_in.h:22,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Sock_Connect.h:26,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/INET_Addr.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Proxy.h:24,
from Name_Proxy.cpp:3:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:192:18:
error: variable 'ACE_Proper_Export_Flag ACE_Main_Base' has initializer
but incomplete type
class ACE_Export ACE_Main_Base
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:192:18:
warning: extended initializer lists only available with -std=c++11 or
-std=gnu++11 [enabled by default]
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected primary-expression before 'public'
public:
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected '}' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected ',' or ';' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:196:26:
error: expected class-name before '(' token
virtual ~ACE_Main_Base ();
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:198:35:
error: 'virtual' outside class declaration
virtual int run_i (int, char *[]) = 0;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:198:39:
error: function 'int run_i(int, char**)' is initialized like a variable
virtual int run_i (int, char *[]) = 0;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:199:1:
error: expected declaration before '}' token
};
^
make[1]: *** [.shobj/Name_Proxy.o] Error 1
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_unistd.h:27:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_limits.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:58,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:24,
from Name_Request_Reply.cpp:1:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_types.h:141:25:
error: conflicting declaration 'typedef long unsigned int useconds_t'
typedef unsigned long useconds_t;
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_types.h:30:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_unistd.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_limits.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:58,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:24,
from Name_Request_Reply.cpp:1:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:84:22: error:
'useconds_t' has a previous declaration as 'typedef unsigned int useconds_t'
typedef unsigned int useconds_t;
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_wait.h:27:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_stdlib.h:28,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:60,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:24,
from Name_Request_Reply.cpp:1:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:201:6:
error: 'sigset_t' does not name a type
sigset_t sa_mask;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:234:19:
error: 'sigset_t' was not declared in this scope
int sigwait (sigset_t *set);
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:234:29:
error: 'set' was not declared in this scope
int sigwait (sigset_t *set);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:31,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_wait.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_stdlib.h:28,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:60,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:24,
from Name_Request_Reply.cpp:1:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:239:7:
error: expected unqualified-id before numeric constant
int pthread_sigmask(int, const sigset_t *, sigset_t *);
^
In file included from Name_Request_Reply.cpp:1:0:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:42:18:
error: variable 'ACE_Proper_Export_Flag ACE_Name_Request' has
initializer but incomplete type
class ACE_Export ACE_Name_Request
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:42:18:
warning: extended initializer lists only available with -std=c++11 or
-std=gnu++11 [enabled by default]
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:44:1:
error: expected primary-expression before 'public'
public:
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:44:1:
error: expected '}' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:44:1:
error: expected ',' or ';' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:72:26:
error: expected constructor, destructor, or type conversion before ';' token
ACE_Name_Request (void);
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:82:49:
error: expected constructor, destructor, or type conversion before ';' token
ACE_Time_Value *timeout = 0); // Max time willing
to wait for request.
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:89:28:
error: non-member function 'ACE_UINT32 length()' cannot have cv-qualifier
ACE_UINT32 length (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:93:29:
error: non-member function 'ACE_INT32 msg_type()' cannot have cv-qualifier
ACE_INT32 msg_type (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:97:35:
error: non-member function 'ACE_UINT32 block_forever()' cannot have
cv-qualifier
ACE_UINT32 block_forever (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:101:33:
error: non-member function 'ACE_Time_Value timeout()' cannot have
cv-qualifier
ACE_Time_Value timeout (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:105:34:
error: non-member function 'const wchar_t* name()' cannot have cv-qualifier
const ACE_WCHAR_T *name (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:109:35:
error: non-member function 'const wchar_t* value()' cannot have cv-qualifier
const ACE_WCHAR_T *value (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:113:27:
error: non-member function 'const char* type()' cannot have cv-qualifier
const char *type (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:117:30:
error: non-member function 'ACE_UINT32 name_len()' cannot have cv-qualifier
ACE_UINT32 name_len (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:121:31:
error: non-member function 'ACE_UINT32 value_len()' cannot have cv-qualifier
ACE_UINT32 value_len (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:125:30:
error: non-member function 'ACE_UINT32 type_len()' cannot have cv-qualifier
ACE_UINT32 type_len (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:135:20:
error: non-member function 'void dump()' cannot have cv-qualifier
void dump (void) const;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:137:1:
error: expected unqualified-id before 'private'
private:
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:176:3:
error: 'Transfer' does not name a type
Transfer transfer_;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Request_Reply.h:186:1:
error: expected declaration before '}' token
};
^
make[1]: *** [.shobj/Name_Request_Reply.o] Error 1
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_unistd.h:27:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_limits.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:58,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SStringfwd.h:22,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Space.h:24,
from Name_Space.cpp:4:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_types.h:141:25:
error: conflicting declaration 'typedef long unsigned int useconds_t'
typedef unsigned long useconds_t;
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_types.h:30:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_unistd.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_limits.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:58,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SStringfwd.h:22,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Space.h:24,
from Name_Space.cpp:4:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:84:22: error:
'useconds_t' has a previous declaration as 'typedef unsigned int useconds_t'
typedef unsigned int useconds_t;
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_wait.h:27:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_stdlib.h:28,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:60,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SStringfwd.h:22,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Space.h:24,
from Name_Space.cpp:4:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:201:6:
error: 'sigset_t' does not name a type
sigset_t sa_mask;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:234:19:
error: 'sigset_t' was not declared in this scope
int sigwait (sigset_t *set);
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:234:29:
error: 'set' was not declared in this scope
int sigwait (sigset_t *set);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:31,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/sys/os_wait.h:27,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_stdlib.h:28,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Basic_Types.h:60,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SStringfwd.h:22,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:17,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Space.h:24,
from Name_Space.cpp:4:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/os_include/os_signal.h:239:7:
error: expected unqualified-id before numeric constant
int pthread_sigmask(int, const sigset_t *, sigset_t *);
^
In file included from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/config-all.h:89:0,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Assert.h:20,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Global_Macros.h:31,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/String_Base.h:19,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:23,
from
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Space.h:24,
from Name_Space.cpp:4:
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:192:18:
error: variable 'ACE_Proper_Export_Flag ACE_Main_Base' has initializer
but incomplete type
class ACE_Export ACE_Main_Base
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:192:18:
warning: extended initializer lists only available with -std=c++11 or
-std=gnu++11 [enabled by default]
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected primary-expression before 'public'
public:
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected '}' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:194:1:
error: expected ',' or ';' before 'public'
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:196:26:
error: expected class-name before '(' token
virtual ~ACE_Main_Base ();
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:198:35:
error: 'virtual' outside class declaration
virtual int run_i (int, char *[]) = 0;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:198:39:
error: function 'int run_i(int, char**)' is initialized like a variable
virtual int run_i (int, char *[]) = 0;
^
C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/OS_main.h:199:1:
error: expected declaration before '}' token
};
^

------------------

Maybe isn't a good idea, but I've tried the "raw compilation" also,
using something like that:

PKG="/mingw32/i686-w64-mingw32"
cd ACE_wrappers;
export ACE_ROOT=$PWD;
export TAO_ROOT=$ACE_ROOT/TAO;
export LD_LIBRARY_PATH=$ACE_ROOT/lib:$LD_LIBRARY_PATH;
rm -rf objdir
mkdir objdir
cd objdir
../configure --prefix=$PKG/usr --exec-prefix=$PKG/usr --with-tao
--enable-ace-examples=no --enable-ace-tests=no --enable-tao-examples=no
--enable-tao-tests=no --enable-pthreads=no
make -j $NUMBER_OF_PROCESSORS || exit 1
make install || exit 1

We get more errors.... Some options are for older ACE+TAO version, I know.

Making all in ace
make[1]: Entering directory
`/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/objdir/ace'
make all-recursive
make[2]: Entering directory
`/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/objdir/ace'
Making all in .
make[3]: Entering directory
`/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/objdir/ace'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I.. -DACE_BUILD_DLL -W -Wall -Wpointer-arith -g -O2 -pipe -O
-I. -I.. -MT libACE_la-ACE.lo -MD -MP -MF .deps/libACE_la-ACE.Tpo -c -o
libACE_la-ACE.lo `test -f 'ACE.cpp' || echo '../../ace/'`ACE.cpp
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I.. -DACE_BUILD_DLL -W -Wall -Wpointer-arith -g -O2 -pipe -O
-I. -I.. -MT libACE_la-ACE_crc32.lo -MD -MP -MF
.deps/libACE_la-ACE_crc32.Tpo -c -o libACE_la-ACE_crc32.lo `test -f
'ACE_crc32.cpp' || echo '../../ace/'`ACE_crc32.cpp
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I.. -DACE_BUILD_DLL -W -Wall -Wpointer-arith -g -O2 -pipe -O
-I. -I.. -MT libACE_la-ACE_crc_ccitt.lo -MD -MP -MF
.deps/libACE_la-ACE_crc_ccitt.Tpo -c -o libACE_la-ACE_crc_ccitt.lo `test
-f 'ACE_crc_ccitt.cpp' || echo '../../ace/'`ACE_crc_ccitt.cpp
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I.. -DACE_BUILD_DLL -W -Wall -Wpointer-arith -g -O2 -pipe -O
-I. -I.. -MT libACE_la-ATM_Params.lo -MD -MP -MF
.deps/libACE_la-ATM_Params.Tpo -c -o libACE_la-ATM_Params.lo `test -f
'ATM_Params.cpp' || echo '../../ace/'`ATM_Params.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -W
-Wall -Wpointer-arith -g -O2 -pipe -O -I. -I.. -MT
libACE_la-ACE_crc32.lo -MD -MP -MF .deps/libACE_la-ACE_crc32.Tpo -c
../../ace/ACE_crc32.cpp -DDLL_EXPORT -DPIC -o .libs/libACE_la-ACE_crc32.o
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -W
-Wall -Wpointer-arith -g -O2 -pipe -O -I. -I.. -MT libACE_la-ACE.lo -MD
-MP -MF .deps/libACE_la-ACE.Tpo -c ../../ace/ACE.cpp -DDLL_EXPORT -DPIC
-o .libs/libACE_la-ACE.o
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -W
-Wall -Wpointer-arith -g -O2 -pipe -O -I. -I.. -MT
libACE_la-ATM_Params.lo -MD -MP -MF .deps/libACE_la-ATM_Params.Tpo -c
../../ace/ATM_Params.cpp -DDLL_EXPORT -DPIC -o .libs/libACE_la-ATM_Params.o
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -W
-Wall -Wpointer-arith -g -O2 -pipe -O -I. -I.. -MT
libACE_la-ACE_crc_ccitt.lo -MD -MP -MF .deps/libACE_la-ACE_crc_ccitt.Tpo
-c ../../ace/ACE_crc_ccitt.cpp -DDLL_EXPORT -DPIC -o
.libs/libACE_la-ACE_crc_ccitt.o
In file included from ../../ace/ACE.cpp:20:0:
../../ace/OS_NS_time.h:174:41: error: macro "asctime_r" passed 3
arguments, but takes just 2
char *buf, int buflen);
^
../../ace/OS_NS_time.h:192:70: error: macro "ctime_r" passed 3
arguments, but takes just 2
ACE_TCHAR *ctime_r (const time_t *clock, ACE_TCHAR *buf, int buflen);
^
In file included from ../../ace/OS_NS_time.h:290:0,
from ../../ace/ACE.cpp:20:
../../ace/OS_NS_time.inl:26:61: error: macro "asctime_r" passed 3
arguments, but takes just 2
ACE_OS::asctime_r (const struct tm *t, char *buf, int buflen)
^
../../ace/OS_NS_time.inl:130:61: error: macro "ctime_r" passed 3
arguments, but takes just 2
ACE_OS::ctime_r (const time_t *t, ACE_TCHAR *buf, int buflen)
^
../../ace/ACE.cpp:2506:55: error: macro "ctime_r" passed 3 arguments,
but takes just 2
sizeof timebuf / sizeof (ACE_TCHAR));
^
In file included from ../../ace/os_include/sys/os_stat.h:27:0,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE_crc32.cpp:3:
../../ace/os_include/sys/os_types.h:141:25: error: conflicting
declaration 'typedef long unsigned int useconds_t'
typedef unsigned long useconds_t;
^
In file included from ../../ace/os_include/sys/os_types.h:30:0,
from ../../ace/os_include/sys/os_stat.h:27,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE_crc32.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:84:22: error:
'useconds_t' has a previous declaration as 'typedef unsigned int useconds_t'
typedef unsigned int useconds_t;
^
In file included from ../../ace/os_include/sys/os_wait.h:27:0,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc32.cpp:3:
../../ace/os_include/os_signal.h:201:6: error: 'sigset_t' does not name
a type
sigset_t sa_mask;
^
../../ace/os_include/os_signal.h:234:19: error: 'sigset_t' was not
declared in this scope
int sigwait (sigset_t *set);
^
../../ace/os_include/os_signal.h:234:29: error: 'set' was not declared
in this scope
int sigwait (sigset_t *set);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc32.cpp:3:
../../ace/os_include/os_signal.h:239:7: error: expected unqualified-id
before numeric constant
int pthread_sigmask(int, const sigset_t *, sigset_t *);
^
In file included from ../../ace/Time_Value.h:24:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc32.cpp:3:
../../ace/os_include/os_time.h:58:16: error: redefinition of 'struct
timespec'
typedef struct timespec
^
In file included from ../../ace/os_include/sys/os_types.h:30:0,
from ../../ace/os_include/sys/os_stat.h:27,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE_crc32.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:89:8: error:
previous definition of 'struct timespec'
struct timespec {
^
In file included from ../../ace/Time_Value.h:24:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc32.cpp:3:
../../ace/os_include/os_time.h:64:13: error: invalid type in declaration
before ';' token
} timespec_t;
^
In file included from ../../ace/Time_Value.h:382:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc32.cpp:3:
../../ace/Time_Value.inl: In member function 'void
ACE_Time_Value::set(const timespec_t&)':
../../ace/Time_Value.inl:102:17: error: request for member 'tv_sec' in
'tv', which is of non-class type 'const timespec_t {aka const int}'
this->set (tv.tv_sec,
^
../../ace/Time_Value.inl:103:17: error: request for member 'tv_nsec' in
'tv', which is of non-class type 'const timespec_t {aka const int}'
tv.tv_nsec / 1000); // Convert nanoseconds into microseconds.
^
../../ace/Time_Value.inl: In member function 'ACE_Time_Value::operator
timespec_t() const':
../../ace/Time_Value.inl:286:6: error: request for member 'tv_sec' in
'tv', which is of non-class type 'timespec_t {aka int}'
tv.tv_sec = this->sec ();
^
../../ace/Time_Value.inl:288:6: error: request for member 'tv_nsec' in
'tv', which is of non-class type 'timespec_t {aka int}'
tv.tv_nsec = this->tv_.tv_usec * 1000;
^
In file included from ../../ace/OS_NS_stdlib.inl:6:0,
from ../../ace/OS_NS_stdlib.h:449,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc32.cpp:3:
../../ace/Object_Manager_Base.h: At global scope:
../../ace/Object_Manager_Base.h:175:10: error: 'sigset_t' does not name
a type
static sigset_t *default_mask (void);
^
../../ace/Object_Manager_Base.h:218:3: error: 'sigset_t' does not name a
type
sigset_t *default_mask_;
^
In file included from ../../ace/os_include/sys/os_stat.h:27:0,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE.cpp:3:
../../ace/os_include/sys/os_types.h:141:25: error: conflicting
declaration 'typedef long unsigned int useconds_t'
typedef unsigned long useconds_t;
^
In file included from ../../ace/os_include/sys/os_types.h:30:0,
from ../../ace/os_include/sys/os_stat.h:27,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:84:22: error:
'useconds_t' has a previous declaration as 'typedef unsigned int useconds_t'
typedef unsigned int useconds_t;
^
In file included from ../../ace/os_include/sys/os_wait.h:27:0,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE.cpp:3:
../../ace/os_include/os_signal.h:201:6: error: 'sigset_t' does not name
a type
sigset_t sa_mask;
^
../../ace/os_include/os_signal.h:234:19: error: 'sigset_t' was not
declared in this scope
int sigwait (sigset_t *set);
^
../../ace/os_include/os_signal.h:234:29: error: 'set' was not declared
in this scope
int sigwait (sigset_t *set);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE.cpp:3:
../../ace/os_include/os_signal.h:239:7: error: expected unqualified-id
before numeric constant
int pthread_sigmask(int, const sigset_t *, sigset_t *);
^
In file included from ../../ace/OS_NS_stdlib.h:449:0,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc32.cpp:3:
../../ace/OS_NS_stdlib.inl:498:45: error: 'double ACE_OS::strtod(const
char*, char**)' should have been declared inside 'ACE_OS'
ACE_OS::strtod (const char *s, char **endptr)
^
../../ace/OS_NS_stdlib.inl: In function 'double ACE_OS::strtod(const
char*, char**)':
../../ace/OS_NS_stdlib.inl:498:45: error: 'double ACE_OS::strtod(const
char*, char**)' conflicts with a previous declaration
In file included from ../../ace/os_include/os_stdlib.h:35:0,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc32.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/stdlib.h:389:32: note:
previous declaration 'double strtod(const char*, char**)'
double __cdecl __MINGW_NOTHROW strtod(const char * __restrict__
_Str,char ** __restrict__ _EndPtr)
^
In file included from ../../ace/OS_NS_stdlib.h:449:0,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc32.cpp:3:
../../ace/OS_NS_stdlib.inl: At global scope:
../../ace/OS_NS_stdlib.inl:506:51: error: 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)' should have been declared inside 'ACE_OS'
ACE_OS::strtod (const wchar_t *s, wchar_t **endptr)
^
../../ace/OS_NS_stdlib.inl: In function 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)':
../../ace/OS_NS_stdlib.inl:506:51: error: 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)' conflicts with a previous declaration
In file included from ../../ace/os_include/os_stdlib.h:35:0,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc32.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/stdlib.h:389:32: note:
previous declaration 'double strtod(const char*, char**)'
double __cdecl __MINGW_NOTHROW strtod(const char * __restrict__
_Str,char ** __restrict__ _EndPtr)
^
In file included from ../../ace/Time_Value.h:24:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE.cpp:3:
../../ace/os_include/os_time.h:58:16: error: redefinition of 'struct
timespec'
typedef struct timespec
^
In file included from ../../ace/os_include/sys/os_types.h:30:0,
from ../../ace/os_include/sys/os_stat.h:27,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:89:8: error:
previous definition of 'struct timespec'
struct timespec {
^
In file included from ../../ace/Time_Value.h:24:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE.cpp:3:
../../ace/os_include/os_time.h:64:13: error: invalid type in declaration
before ';' token
} timespec_t;
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc32.cpp:3:
../../ace/OS_NS_signal.h: At global scope:
../../ace/OS_NS_signal.h:177:7: error: expected unqualified-id before
numeric constant
int pthread_sigmask (int how,
^
In file included from ../../ace/OS_NS_Thread.h:37:0,
from ../../ace/ACE.inl:6,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc32.cpp:3:
../../ace/OS_NS_signal.h:187:18: error: 'ACE_OS::sigaddset' declared as
an 'inline' variable
int sigaddset (sigset_t *s,
^
../../ace/OS_NS_signal.h:187:18: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:187:28: error: 's' was not declared in this scope
int sigaddset (sigset_t *s,
^
../../ace/OS_NS_signal.h:188:18: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:188:28: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:191:18: error: 'ACE_OS::sigdelset' declared as
an 'inline' variable
int sigdelset (sigset_t *s,
^
../../ace/OS_NS_signal.h:191:18: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:191:28: error: 's' was not declared in this scope
int sigdelset (sigset_t *s,
^
../../ace/OS_NS_signal.h:192:18: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:192:28: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:195:20: error: 'ACE_OS::sigemptyset' declared
as an 'inline' variable
int sigemptyset (sigset_t *s);
^
../../ace/OS_NS_signal.h:195:20: error: 'sigset_t' was not declared in
this scope
In file included from ../../ace/Time_Value.h:382:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE.cpp:3:
../../ace/Time_Value.inl: In member function 'void
ACE_Time_Value::set(const timespec_t&)':
../../ace/Time_Value.inl:102:17: error: request for member 'tv_sec' in
'tv', which is of non-class type 'const timespec_t {aka const int}'
this->set (tv.tv_sec,
^
../../ace/OS_NS_signal.h:195:30: error: 's' was not declared in this scope
int sigemptyset (sigset_t *s);
^
../../ace/Time_Value.inl:103:17: error: request for member 'tv_nsec' in
'tv', which is of non-class type 'const timespec_t {aka const int}'
tv.tv_nsec / 1000); // Convert nanoseconds into microseconds.
^
../../ace/OS_NS_signal.h:198:19: error: 'ACE_OS::sigfillset' declared as
an 'inline' variable
int sigfillset (sigset_t *s);
^
../../ace/OS_NS_signal.h:198:19: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:198:29: error: 's' was not declared in this scope
int sigfillset (sigset_t *s);
^
../../ace/OS_NS_signal.h:201:20: error: 'ACE_OS::sigismember' declared
as an 'inline' variable
int sigismember (sigset_t *s,
^
../../ace/OS_NS_signal.h:201:20: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:201:30: error: 's' was not declared in this scope
int sigismember (sigset_t *s,
^
../../ace/OS_NS_signal.h:202:20: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:202:30: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:210:26: error: 'sigset_t' does not name a type
const sigset_t *nsp,
^
../../ace/OS_NS_signal.h:210:36: error: ISO C++ forbids declaration of
'nsp' with no type [-fpermissive]
const sigset_t *nsp,
^
../../ace/Time_Value.inl: In member function 'ACE_Time_Value::operator
timespec_t() const':
../../ace/Time_Value.inl:286:6: error: request for member 'tv_sec' in
'tv', which is of non-class type 'timespec_t {aka int}'
tv.tv_sec = this->sec ();
^
../../ace/OS_NS_signal.h:211:20: error: 'sigset_t' has not been declared
sigset_t *osp);
^
../../ace/Time_Value.inl:288:6: error: request for member 'tv_nsec' in
'tv', which is of non-class type 'timespec_t {aka int}'
tv.tv_nsec = this->tv_.tv_usec * 1000;
^
../../ace/OS_NS_signal.h:214:25: error: 'sigset_t' does not name a type
int sigsuspend (const sigset_t *s);
^
../../ace/OS_NS_signal.h:214:35: error: ISO C++ forbids declaration of
's' with no type [-fpermissive]
int sigsuspend (const sigset_t *s);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc32.cpp:3:
../../ace/OS_NS_signal.inl:27:1: error: expected unqualified-id before
numeric constant
pthread_sigmask (int how, const sigset_t *nsp, sigset_t *osp)
^
../../ace/ACE_crc32.cpp:156:1: error: expected '}' at end of input
}
^
In file included from ../../ace/OS_NS_stdlib.inl:6:0,
from ../../ace/OS_NS_stdlib.h:449,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE.cpp:3:
../../ace/Object_Manager_Base.h: At global scope:
../../ace/Object_Manager_Base.h:175:10: error: 'sigset_t' does not name
a type
static sigset_t *default_mask (void);
^
../../ace/Object_Manager_Base.h:218:3: error: 'sigset_t' does not name a
type
sigset_t *default_mask_;
^
In file included from ../../ace/OS_NS_stdlib.h:449:0,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE.cpp:3:
../../ace/OS_NS_stdlib.inl:498:45: error: 'double ACE_OS::strtod(const
char*, char**)' should have been declared inside 'ACE_OS'
ACE_OS::strtod (const char *s, char **endptr)
^
../../ace/OS_NS_stdlib.inl: In function 'double ACE_OS::strtod(const
char*, char**)':
../../ace/OS_NS_stdlib.inl:498:45: error: 'double ACE_OS::strtod(const
char*, char**)' conflicts with a previous declaration
In file included from ../../ace/os_include/os_stdlib.h:35:0,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/stdlib.h:389:32: note:
previous declaration 'double strtod(const char*, char**)'
double __cdecl __MINGW_NOTHROW strtod(const char * __restrict__
_Str,char ** __restrict__ _EndPtr)
^
In file included from ../../ace/OS_NS_stdlib.h:449:0,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE.cpp:3:
../../ace/OS_NS_stdlib.inl: At global scope:
../../ace/OS_NS_stdlib.inl:506:51: error: 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)' should have been declared inside 'ACE_OS'
ACE_OS::strtod (const wchar_t *s, wchar_t **endptr)
^
../../ace/OS_NS_stdlib.inl: In function 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)':
../../ace/OS_NS_stdlib.inl:506:51: error: 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)' conflicts with a previous declaration
In file included from ../../ace/os_include/os_stdlib.h:35:0,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/stdlib.h:389:32: note:
previous declaration 'double strtod(const char*, char**)'
double __cdecl __MINGW_NOTHROW strtod(const char * __restrict__
_Str,char ** __restrict__ _EndPtr)
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE.cpp:3:
../../ace/OS_NS_signal.h: At global scope:
../../ace/OS_NS_signal.h:177:7: error: expected unqualified-id before
numeric constant
int pthread_sigmask (int how,
^
In file included from ../../ace/OS_NS_Thread.h:37:0,
from ../../ace/ACE.inl:6,
from ../../ace/ACE.h:844,
from ../../ace/ACE.cpp:3:
../../ace/OS_NS_signal.h:187:18: error: 'ACE_OS::sigaddset' declared as
an 'inline' variable
int sigaddset (sigset_t *s,
^
../../ace/OS_NS_signal.h:187:18: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:187:28: error: 's' was not declared in this scope
int sigaddset (sigset_t *s,
^
../../ace/OS_NS_signal.h:188:18: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:188:28: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:191:18: error: 'ACE_OS::sigdelset' declared as
an 'inline' variable
int sigdelset (sigset_t *s,
^
../../ace/OS_NS_signal.h:191:18: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:191:28: error: 's' was not declared in this scope
int sigdelset (sigset_t *s,
^
../../ace/OS_NS_signal.h:192:18: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:192:28: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:195:20: error: 'ACE_OS::sigemptyset' declared
as an 'inline' variable
int sigemptyset (sigset_t *s);
^
../../ace/OS_NS_signal.h:195:20: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:195:30: error: 's' was not declared in this scope
int sigemptyset (sigset_t *s);
^
../../ace/OS_NS_signal.h:198:19: error: 'ACE_OS::sigfillset' declared as
an 'inline' variable
int sigfillset (sigset_t *s);
^
../../ace/OS_NS_signal.h:198:19: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:198:29: error: 's' was not declared in this scope
int sigfillset (sigset_t *s);
^
../../ace/OS_NS_signal.h:201:20: error: 'ACE_OS::sigismember' declared
as an 'inline' variable
int sigismember (sigset_t *s,
^
../../ace/OS_NS_signal.h:201:20: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:201:30: error: 's' was not declared in this scope
int sigismember (sigset_t *s,
^
../../ace/OS_NS_signal.h:202:20: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:202:30: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:210:26: error: 'sigset_t' does not name a type
const sigset_t *nsp,
^
../../ace/OS_NS_signal.h:210:36: error: ISO C++ forbids declaration of
'nsp' with no type [-fpermissive]
const sigset_t *nsp,
^
../../ace/OS_NS_signal.h:211:20: error: 'sigset_t' has not been declared
sigset_t *osp);
^
../../ace/OS_NS_signal.h:214:25: error: 'sigset_t' does not name a type
int sigsuspend (const sigset_t *s);
^
../../ace/OS_NS_signal.h:214:35: error: ISO C++ forbids declaration of
's' with no type [-fpermissive]
int sigsuspend (const sigset_t *s);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE.cpp:3:
../../ace/OS_NS_signal.inl:27:1: error: expected unqualified-id before
numeric constant
pthread_sigmask (int how, const sigset_t *nsp, sigset_t *osp)
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/clocale:42:0,
from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/c++locale.h:41,
from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/bits/localefwd.h:40,
from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ios:41,
from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ostream:38,
from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/iterator:64,
from ../../ace/String_Base.h:26,
from ../../ace/SString.h:23,
from ../../ace/ACE.cpp:8:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/locale.h:15:32: error:
expected '}' before end of line
#pragma pack(push,_CRT_PACKING)
^
C:/msys/1.0/mingw32/i686-w64-mingw32/include/locale.h:15:32: error:
expected declaration before end of line
In file included from ../../ace/os_include/sys/os_stat.h:27:0,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/os_include/sys/os_types.h:141:25: error: conflicting
declaration 'typedef long unsigned int useconds_t'
typedef unsigned long useconds_t;
^
In file included from ../../ace/os_include/sys/os_types.h:30:0,
from ../../ace/os_include/sys/os_stat.h:27,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE_crc_ccitt.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:84:22: error:
'useconds_t' has a previous declaration as 'typedef unsigned int useconds_t'
typedef unsigned int useconds_t;
^
In file included from ../../ace/os_include/sys/os_wait.h:27:0,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/os_include/os_signal.h:201:6: error: 'sigset_t' does not name
a type
sigset_t sa_mask;
^
../../ace/os_include/os_signal.h:234:19: error: 'sigset_t' was not
declared in this scope
int sigwait (sigset_t *set);
^
../../ace/os_include/os_signal.h:234:29: error: 'set' was not declared
in this scope
int sigwait (sigset_t *set);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/os_include/os_signal.h:239:7: error: expected unqualified-id
before numeric constant
int pthread_sigmask(int, const sigset_t *, sigset_t *);
^
In file included from ../../ace/Time_Value.h:24:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/os_include/os_time.h:58:16: error: redefinition of 'struct
timespec'
typedef struct timespec
^
In file included from ../../ace/os_include/sys/os_types.h:30:0,
from ../../ace/os_include/sys/os_stat.h:27,
from ../../ace/os_include/os_fcntl.h:27,
from ../../ace/Flag_Manip.h:27,
from ../../ace/ACE.h:32,
from ../../ace/ACE_crc_ccitt.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/sys/types.h:89:8: error:
previous definition of 'struct timespec'
struct timespec {
^
In file included from ../../ace/Time_Value.h:24:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/os_include/os_time.h:64:13: error: invalid type in declaration
before ';' token
} timespec_t;
^
In file included from ../../ace/Time_Value.h:382:0,
from ../../ace/OS_NS_unistd.h:29,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/Time_Value.inl: In member function 'void
ACE_Time_Value::set(const timespec_t&)':
../../ace/Time_Value.inl:102:17: error: request for member 'tv_sec' in
'tv', which is of non-class type 'const timespec_t {aka const int}'
this->set (tv.tv_sec,
^
../../ace/Time_Value.inl:103:17: error: request for member 'tv_nsec' in
'tv', which is of non-class type 'const timespec_t {aka const int}'
tv.tv_nsec / 1000); // Convert nanoseconds into microseconds.
^
../../ace/Time_Value.inl: In member function 'ACE_Time_Value::operator
timespec_t() const':
../../ace/Time_Value.inl:286:6: error: request for member 'tv_sec' in
'tv', which is of non-class type 'timespec_t {aka int}'
tv.tv_sec = this->sec ();
^
../../ace/Time_Value.inl:288:6: error: request for member 'tv_nsec' in
'tv', which is of non-class type 'timespec_t {aka int}'
tv.tv_nsec = this->tv_.tv_usec * 1000;
^
In file included from ../../ace/OS_NS_stdlib.inl:6:0,
from ../../ace/OS_NS_stdlib.h:449,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/Object_Manager_Base.h: At global scope:
../../ace/Object_Manager_Base.h:175:10: error: 'sigset_t' does not name
a type
static sigset_t *default_mask (void);
^
../../ace/Object_Manager_Base.h:218:3: error: 'sigset_t' does not name a
type
sigset_t *default_mask_;
^
In file included from ../../ace/OS_NS_stdlib.h:449:0,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/OS_NS_stdlib.inl:498:45: error: 'double ACE_OS::strtod(const
char*, char**)' should have been declared inside 'ACE_OS'
ACE_OS::strtod (const char *s, char **endptr)
^
../../ace/OS_NS_stdlib.inl: In function 'double ACE_OS::strtod(const
char*, char**)':
../../ace/OS_NS_stdlib.inl:498:45: error: 'double ACE_OS::strtod(const
char*, char**)' conflicts with a previous declaration
In file included from ../../ace/os_include/os_stdlib.h:35:0,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc_ccitt.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/stdlib.h:389:32: note:
previous declaration 'double strtod(const char*, char**)'
double __cdecl __MINGW_NOTHROW strtod(const char * __restrict__
_Str,char ** __restrict__ _EndPtr)
^
In file included from ../../ace/OS_NS_stdlib.h:449:0,
from ../../ace/OS_Memory.h:341,
from ../../ace/OS_NS_unistd.inl:11,
from ../../ace/OS_NS_unistd.h:378,
from ../../ace/ACE.inl:5,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/OS_NS_stdlib.inl: At global scope:
../../ace/OS_NS_stdlib.inl:506:51: error: 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)' should have been declared inside 'ACE_OS'
ACE_OS::strtod (const wchar_t *s, wchar_t **endptr)
^
../../ace/OS_NS_stdlib.inl: In function 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)':
../../ace/OS_NS_stdlib.inl:506:51: error: 'double ACE_OS::strtod(const
wchar_t*, wchar_t**)' conflicts with a previous declaration
In file included from ../../ace/os_include/os_stdlib.h:35:0,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc_ccitt.cpp:3:
C:/msys/1.0/mingw32/i686-w64-mingw32/include/stdlib.h:389:32: note:
previous declaration 'double strtod(const char*, char**)'
double __cdecl __MINGW_NOTHROW strtod(const char * __restrict__
_Str,char ** __restrict__ _EndPtr)
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/OS_NS_signal.h: At global scope:
../../ace/OS_NS_signal.h:177:7: error: expected unqualified-id before
numeric constant
int pthread_sigmask (int how,
^
In file included from ../../ace/OS_NS_Thread.h:37:0,
from ../../ace/ACE.inl:6,
from ../../ace/ACE.h:844,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/OS_NS_signal.h:187:18: error: 'ACE_OS::sigaddset' declared as
an 'inline' variable
int sigaddset (sigset_t *s,
^
../../ace/OS_NS_signal.h:187:18: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:187:28: error: 's' was not declared in this scope
int sigaddset (sigset_t *s,
^
../../ace/OS_NS_signal.h:188:18: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:188:28: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:191:18: error: 'ACE_OS::sigdelset' declared as
an 'inline' variable
int sigdelset (sigset_t *s,
^
../../ace/OS_NS_signal.h:191:18: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:191:28: error: 's' was not declared in this scope
int sigdelset (sigset_t *s,
^
../../ace/OS_NS_signal.h:192:18: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:192:28: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:195:20: error: 'ACE_OS::sigemptyset' declared
as an 'inline' variable
int sigemptyset (sigset_t *s);
^
../../ace/OS_NS_signal.h:195:20: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:195:30: error: 's' was not declared in this scope
int sigemptyset (sigset_t *s);
^
../../ace/OS_NS_signal.h:198:19: error: 'ACE_OS::sigfillset' declared as
an 'inline' variable
int sigfillset (sigset_t *s);
^
../../ace/OS_NS_signal.h:198:19: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:198:29: error: 's' was not declared in this scope
int sigfillset (sigset_t *s);
^
../../ace/OS_NS_signal.h:201:20: error: 'ACE_OS::sigismember' declared
as an 'inline' variable
int sigismember (sigset_t *s,
^
../../ace/OS_NS_signal.h:201:20: error: 'sigset_t' was not declared in
this scope
../../ace/OS_NS_signal.h:201:30: error: 's' was not declared in this scope
int sigismember (sigset_t *s,
^
../../ace/OS_NS_signal.h:202:20: error: expected primary-expression
before 'int'
int signum);
^
../../ace/OS_NS_signal.h:202:30: error: expression list treated as
compound expression in initializer [-fpermissive]
int signum);
^
../../ace/OS_NS_signal.h:210:26: error: 'sigset_t' does not name a type
const sigset_t *nsp,
^
../../ace/OS_NS_signal.h:210:36: error: ISO C++ forbids declaration of
'nsp' with no type [-fpermissive]
const sigset_t *nsp,
^
../../ace/OS_NS_signal.h:211:20: error: 'sigset_t' has not been declared
sigset_t *osp);
^
../../ace/OS_NS_signal.h:214:25: error: 'sigset_t' does not name a type
int sigsuspend (const sigset_t *s);
^
../../ace/OS_NS_signal.h:214:35: error: ISO C++ forbids declaration of
's' with no type [-fpermissive]
int sigsuspend (const sigset_t *s);
^
In file included from
C:/msys/1.0/mingw32/i686-w64-mingw32/include/signal.h:10:0,
from ../../ace/os_include/os_signal.h:31,
from ../../ace/os_include/sys/os_wait.h:27,
from ../../ace/os_include/os_stdlib.h:28,
from ../../ace/Basic_Types.h:60,
from ../../ace/Sock_Connect.h:25,
from ../../ace/ACE.h:36,
from ../../ace/ACE_crc_ccitt.cpp:3:
../../ace/OS_NS_signal.inl:27:1: error: expected unqualified-id before
numeric constant
pthread_sigmask (int how, const sigset_t *nsp, sigset_t *osp)
^
../../ace/ACE_crc_ccitt.cpp:123:1: error: expected '}' at end of input
}
^

But...Disabling pthread result in a configuration with no thread library
(and configuration process warn about that), I don't know if this can work.

At the end, not jet a solution....

I'm open to others suggestions...

Best regards, bye.

Johnny Willemsen

unread,
Jul 28, 2014, 7:11:51 AM7/28/14
to Dario Maggiari, ace-...@list.isis.vanderbilt.edu
Hi,

We are compiling regularly with MinGW-W64 and don't have problems with
that, see the main scoreboard at
http://www.dre.vanderbilt.edu/scoreboard/integrated.html.

It could be that the MinGW-32 port is broken, it is not actively maintained.

If you can contribute patches, that would be great

Best regards,

Johnny Willemsen
Remedy IT
http://www.theaceorb.nl
> GNUmakefile:
> /sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/GNUmakefile.ACE
> MAKEFLAGS=w --jobserver-fds=4,5 -j
>
> make[1]: Leaving directory
> `/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/QtReactor'
> g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W
> -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
> -Wno-unknown-pragmas
> -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE
> -I.. -DACE_BUILD_DLL -c -o .shobj/Name_Proxy.o Name_Proxy.cpp
>
> g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W
> -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
> -Wno-unknown-pragmas
> -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE
> -I.. -DACE_BUILD_DLL -c -o .shobj/Name_Space.o Name_Space.cpp
> g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W
> -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
> -Wno-unknown-pragmas
> -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE
> -I.. -DACE_BUILD_DLL -c -o .shobj/Naming_Context.o Naming_Context.cpp
> g++ -O3 -g -mthreads -mtune=pentiumpro -fno-strict-aliasing -Wall -W
> -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
> -Wno-unknown-pragmas
> -I/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers -DACE_NO_INLINE
> -I.. -DACE_BUILD_DLL -c -o .shobj/Registry_Name_Space.o
> Registry_Name_Space.cpp
> In file included from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr-default.h:35:0,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr.h:148,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ext/atomicity.h:35,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/bits/ios_base.h:39,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ios:42,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ostream:38,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/iterator:64,
> from
> C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/String_Base.h:26,
> from
> C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:23,
> from
> ^
> In file included from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr-default.h:35:0,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr.h:148,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ext/atomicity.h:35,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/bits/ios_base.h:39,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ios:42,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ostream:38,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/iterator:64,
> from
> C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/String_Base.h:26,
> from
> C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/SString.h:23,
> from
> C:/Users/usr/Desktop/MSYS_HOME/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace/Name_Space.h:24,
> from Name_Space.cpp:4:
> make[1]: *** [.shobj/Name_Space.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [.shobj/Name_Proxy.o] Error 1
> In file included from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr-default.h:35:0,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/gthr.h:148,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ext/atomicity.h:35,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/bits/ios_base.h:39,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ios:42,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/ostream:38,
> from
> C:/msys/1.0/mingw32/i686-w64-mingw32/include/c++/iterator:64,
> from
> make[1]: Leaving directory
> `/sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace'
> make: *** [ACE] Error 2
> FAILED to compile /sw/prj/sw_dependency/windows/ACETAO601/ACE_wrappers/ace!
>
> Can you help me?
>
> Many thanks!
>
> Bye, Dario
>
>
>
> _______________________________________________
> ace-bugs mailing list
> ace-...@list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/ace-bugs
>

0 new messages