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

Re: need help with compile error




Quoth "Sue B. Moon" <[email protected]> :
>  
>  g++ -o cbq.o -c -I/usr/mcast/sbmoon/Tcl-1.0b2 -I/usr/include 
>  -I/usr/mcast/sbmoon/otcl-0.96 -I/usr/mcast/sbmoon/include
>   -I/usr/mcast/sbmoon/include -I. -DIRIX5 -D_BSD_SIGNALS -DIRIX5_3 
>  -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H 
>  -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -Dabort=_ABORT -g cbq.cc
>  /var/tmp/cca001bN.s: Assembler messages:
>  /var/tmp/cca001bN.s:873: Error: Rest of line ignored. First ignored characte
>  r is `:'.
>  /var/tmp/cca001bN.s:877: Error: Rest of line ignored. First ignored characte
>  r is `:'.
>  /var/tmp/cca001bN.s:890: Error: Rest of line ignored. First ignored characte
>  r is `:'.
>  make: *** [cbq.o] Error 1

It was due to the following line defined
inside class CBQueue(cbq.cc). When I took it outside
of class CBQueue definition, the compile error disappeared.

	typedef int (CBQueue::*eligible_type_)(CBQClass*, double);

-Sue