This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-2.90.29 bug


g++ -v
Reading specs from /mnt/vendor/solaris/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

uname -a
SunOS athene 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-60

gmake -k test_vf.o
cd /mnt/dev02/sccs/topix/progs/velit2/modules/calc and depth/prototype B/
gmake -k test_vf.o
g++ -g -c test_vf.cc -o test_vf.o  
In file included from test_vf.cc:1:
test_vf.hh:15: Internal compiler error.
test_vf.hh:15: Please submit a full bug report to `egcs-bugs@cygnus.com'.
gmake: *** [test_vf.o] Error 1

Compilation exited abnormally with code 2 at Mon May 18 13:39:21


Makefile:
CXX = g++
CXXFLAGS = -c
DEFINES = 
INCLUDES = 

%.o: %.cc %.hh
	$(CXX) -g $(CXXFLAGS) $< -o $@ $(INCLUDES) $(DEFINES)

test_vf.cc:
#include "test_vf.hh"

test_vf.hh:
#ifndef VF_HH
#define VF_HH

class velocity_fn
{
public:

  template<class VELOCITY_TYPE>
  explicit velocity_fn( const VELOCITY_TYPE &t);

private:

  velocity_fn( const velocity_fn&);
  velocity_fn& operator=( const velocity_fn&);
};

#endif


-- 


Ta ta fa noo,
	     The Rubber Buccaneer a.k.a. rap@maths.soton.ac.uk

###								      ###
# #      WWW page at http://www.maths.soton.ac.uk/rap/HomePage.html   # #
# #                                                                   # #
# #  			It's good stuff!			      # #
# #                                                                   # #
# #    Sub-sections of note:                                          # #
# #          Psychobilly database : rap/psycho.html                   # #
# #          The state of the nation : rap/State_of_the_Nation.html   # #
# #                                                                   # #
###								      ###


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]