[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#436492:



Even if advertised as:

...
`configure' configures opencc 4.2 to adapt to many kinds of systems.

Usage: ../configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.
...

configure will *always* prefer using gcc-4.7 over to gcc-4.4.

Eg:

$  tar xvf open64-5.0-0.src.tar.bz2
$  cd open64-5.0
$  mkdir objs
$  cd objs
$ ../configure CXX=g++-4.4 CC=gcc-4.4
$ make
[...]
/usr/include/c++/4.7/backward/backward_warning.h:33:2: warning:
#warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality
instead. For a listing of replacement headers and interfaces, consult
the file backward_warning.h. To disable this warning use
-Wno-deprecated. [-Wcpp]
In file included from
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/be/com/fb_whirl.cxx:86:0:
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:
In instantiation of 'void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::Unwind() [with WHIRL = WN*]':
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:489:7:
  required from 'void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::WN_TREE_next() [with WHIRL = WN*]'
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:429:33:
  required from 'WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self&
WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::operator++() [with WHIRL = WN*;
WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self =
WN_TREE_ITER<(TRAV_ORDER)0u, WN*>]'
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/be/com/fb_whirl.cxx:522:52:
  required from here
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:458:9:
error: 'Set_wn' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:458:9:
note: declarations in dependent base 'WN_TREE_ITER_base<WN*>' are not
found by unqualified lookup
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:458:9:
note: use 'this->Set_wn' instead
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:467:9:
error: 'Set_wn' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:467:9:
note: declarations in dependent base 'WN_TREE_ITER_base<WN*>' are not
found by unqualified lookup
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:467:9:
note: use 'this->Set_wn' instead
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:
In instantiation of 'void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::Unwind() [with WHIRL = const WN*]':
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:489:7:
  required from 'void WN_TREE_ITER<(TRAV_ORDER)0u,
WHIRL>::WN_TREE_next() [with WHIRL = const WN*]'
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:429:33:
  required from 'WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self&
WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::operator++() [with WHIRL = const
WN*; WN_TREE_ITER<(TRAV_ORDER)0u, WHIRL>::self =
WN_TREE_ITER<(TRAV_ORDER)0u, const WN*>]'
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/be/com/fb_whirl.cxx:3576:60:
  required from here
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:458:9:
error: 'Set_wn' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:458:9:
note: declarations in dependent base 'WN_TREE_ITER_base<const WN*>'
are not found by unqualified lookup
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:458:9:
note: use 'this->Set_wn' instead
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:467:9:
error: 'Set_wn' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:467:9:
note: declarations in dependent base 'WN_TREE_ITER_base<const WN*>'
are not found by unqualified lookup
/tmp/o/bla/open64-5.0/objs/osprey/../../osprey/common/com/wn_tree_util.h:467:9:
note: use 'this->Set_wn' instead
make[3]: *** [fb_whirl.o] Error 1
make[3]: Leaving directory `/tmp/o/bla/open64-5.0/objs/osprey/targdir/be'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/o/bla/open64-5.0/objs/osprey/targdir/be'
make[1]: *** [be.so] Error 2
make[1]: Leaving directory `/tmp/o/bla/open64-5.0/objs'
make: *** [build] Error 2


Reply to: