cancel
Showing results for 
Search instead for 
Did you mean: 

aCC crash

Ulf Wendel
Occasional Contributor

aCC crash

Hi,

another crash an no idea so far what is up.Any input is welcome!

Thanks,
Ulf

uname -a =>
HP-UX lit01 B.11.11 U 9000/800 995211404 unlimited-user license

/opt/aCC/bin/aCC -V =>
aCC: HP ANSI C++ B3910B A.03.65


path> /opt/aCC/bin/aCC -Dmysqlcppconn_EXPORTS +Onoinline -g +DD64 -mt -AA +d +O0 +W823 +Z -Ipath/boost/include/boost-1_34 -Ipath/mysql-server-gpl-static/include -Ipath/mysql-connector-c++-1.0.6r751_20090819_0940 -Ipath/mysql-connector-c++-1.0.6r751_20090819_0940/cppconn -DPTHREAD_COMPAT_MODE -D_POSIX_THREADS -Ipath/mysql-server-gpl-static/include -DHPUX11 -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -DHAVE_BROKEN_INLINE -DUNIV_HPUX -o CMakeFiles/mysqlcppconn.dir/mysql_connection.cpp.o -c path/mysql-connector-c++-1.0.6r751_20090819_0940/driver/mysql_connection.cpp
( 0) 0x002a5b08 toolError__12ErrorHandlerF11StringTokenRC8Positione + 0x58 [/opt/aCC/lbin/ctcom.pa20]
( 1) 0x00297ee8 __assertprint__FPCcT1i + 0x40 [/opt/aCC/lbin/ctcom.pa20]
( 2) 0x0034cd8c playSavedTokenList__Fv + 0x424 [/opt/aCC/lbin/ctcom.pa20]
( 3) 0x001ca21c doReduction2__FiR12ScannerValueP12ScannerValue + 0x11ec [/opt/aCC/lbin/ctcom.pa20]
( 4) 0x001e5864 yyparse__Fv + 0xc50 [/opt/aCC/lbin/ctcom.pa20]
( 5) 0x00274878 DoCompile__8CompilerFv + 0x224 [/opt/aCC/lbin/ctcom.pa20]
( 6) 0x00286ec4 DoCompile__8CompilerFP6Buffer + 0x34 [/opt/aCC/lbin/ctcom.pa20]
( 7) 0x00283c6c DoCompileFile__8CompilerFPc + 0x110 [/opt/aCC/lbin/ctcom.pa20]
( 8) 0x000cc844 main + 0x404 [/opt/aCC/lbin/ctcom.pa20]
( 9) 0xc01434d0 _start + 0xc0 [/usr/lib/libc.2]
(10) 0x000b7780 $START$ + 0x178 [/opt/aCC/lbin/ctcom.pa20]
Error (internal problem) 200: "path/boost/include/boost-1_34/boost/variant/detail/initializer.hpp", line 61 # Assertion failed at [File "Grammar.C"; Line 3174].
struct make_initializer_node



And this is initializer.hpp:

cat -n path/boost/include/boost-1_34/boost/variant/detail/initializer.hpp
1 //-----------------------------------------------------------------------------
2 // boost variant/detail/initializer.hpp header file
3 // See http://www.boost.org for updates, documentation, and revision history.
4 //-----------------------------------------------------------------------------
5 //
6 // Copyright (c) 2002-2003
7 // Eric Friedman, Itay Maman
8 //
9 // Distributed under the Boost Software License, Version 1.0. (See
10 // accompanying file LICENSE_1_0.txt or copy at
11 // http://www.boost.org/LICENSE_1_0.txt)
12
13 #ifndef BOOST_VARIANT_DETAIL_INITIALIZER_HPP
14 #define BOOST_VARIANT_DETAIL_INITIALIZER_HPP
15
16 #include // for placement new
17
18 #include "boost/config.hpp"
19
20 #include "boost/call_traits.hpp"
21 #include "boost/detail/reference_content.hpp"
22 #include "boost/variant/recursive_wrapper_fwd.hpp"
23
24 #if !defined(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE)
25 # include "boost/mpl/aux_/value_wknd.hpp"
26 # include "boost/mpl/int.hpp"
27 # include "boost/mpl/iter_fold.hpp"
28 # include "boost/mpl/next.hpp"
29 # include "boost/mpl/deref.hpp"
30 # include "boost/mpl/pair.hpp"
31 # include "boost/mpl/protect.hpp"
32 #else
33 # include "boost/variant/variant_fwd.hpp"
34 # include "boost/preprocessor/cat.hpp"
35 # include "boost/preprocessor/enum.hpp"
36 # include "boost/preprocessor/repeat.hpp"
37 #endif
38
39 namespace boost {
40 namespace detail { namespace variant {
41
42 ///////////////////////////////////////////////////////////////////////////////
43 // (detail) support to simulate standard overload resolution rules
44 //
45 // The below initializers allows variant to follow standard overload
46 // resolution rules over the specified set of bounded types.
47 //
48 // On compilers where using declarations in class templates can correctly
49 // avoid name hiding, use an optimal solution based on the variant's typelist.
50 //
51 // Otherwise, use a preprocessor workaround based on knowledge of the fixed
52 // size of the variant's psuedo-variadic template parameter list.
53 //
54
55 #if !defined(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE)
56
57 // (detail) quoted metafunction make_initializer_node
58 //
59 // Exposes a pair whose first type is a node in the initializer hierarchy.
60 //
61 struct make_initializer_node
62 {
63 template
64 struct apply
65 {
66 private: // helpers, for metafunction result (below)
67
68 typedef typename BaseIndexPair::first
69 base;
70 typedef typename BaseIndexPair::second
71 index;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

6 REPLIES
Dennis Handly
Acclaimed Contributor

Re: aCC crash

A.03.65 doesn't support Boost. In your other thread you used the required +hpxstd98, which needs A.03.85 for the latest fixes.
Ulf Wendel
Occasional Contributor

Re: aCC crash

Well, I need both Boost and the platfrom.

Has anybody actually every spend a day trying to fix it?
Ulf Wendel
Occasional Contributor

Re: aCC crash

... any yes, I've asked the responsible team to update the compiler.
Dennis Handly
Acclaimed Contributor

Re: aCC crash

>Has anybody actually ever spent a day trying to fix it?

The old aCC3 technology can't be fixed. That's why we replaced it by the +hpxstd98 compiler.
Ulf Wendel
Occasional Contributor

Re: aCC crash

[solved]

Thanks, that will save me some time! It makes clear that my options are either to use a more recent compiler or not to use Boost.
Dennis Handly
Acclaimed Contributor

Re: aCC crash

>[solved]

If you are happy with the answers you were given, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33