Opened 12 years ago

Closed 12 years ago

#4 closed defect (fixed)

[LINUX] Compilation error, bad_cast is not member of std

Reported by: melon Owned by: melon
Priority: major Milestone:
Component: core Version: 0.1
Keywords: Cc: epyon

Description

melon@melon:~/nv/trunk$ make

Building nv (debug)

library.cc
In file included from ../src/library.cc:5:0:
../nv/common.hh: In function ‘T* down_cast(U*)’:
../nv/common.hh:156:20: error: ‘bad_cast’ is not a member of ‘std’
In file included from ../src/library.cc:6:0:
../nv/library.hh: At global scope:
../nv/library.hh:90:8: error: looser throw specifier for ‘virtual nv::library_error::~library_error()’
In file included from ../nv/library.hh:16:0,

from ../src/library.cc:6:

../nv/exception.hh:38:8: error: overriding ‘virtual nv::runtime_error::~runtime_error() throw ()’
make[1]: * [debug/library.o] Error 1
make:
* [nv] Error 2

Change History (2)

comment:1 Changed 12 years ago by melon

Partially fixed under revision 15, still needs a fix for two other errors.

comment:2 Changed 12 years ago by melon

  • Resolution set to fixed
  • Status changed from new to closed

Fixed at revision 16

Note: See TracTickets for help on using tickets.