Changeset 490:ceb56ff9d07f in lemon-0.x
- Timestamp:
- 04/30/04 01:24:42 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@648
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/include/error.h
r489 r490 7 7 //! \brief Basic error handling (signaling) routines. 8 8 9 #include <exception> 9 10 #include <string> 10 11 #include <sstream> … … 28 29 Exception() {} 29 30 explicit Exception(const std::string &s) { buf << s; } 30 Exception(const Exception &e) { buf << e.buf.str(); } 31 Exception(const Exception &e) : std::exception() { 32 buf << e.buf.str(); 33 } 31 34 virtual ~Exception() throw() {} 32 35 … … 57 60 58 61 # define FIXME(msg) \ 59 do { throw ::hugo::Exception( "FIXME: " msg) <<" (in: " \60 << __FILE__ << ", " << __LINE__ << ")";\62 do { throw ::hugo::Exception() << "FIXME: " msg " (in: " \ 63 __FILE__ ", " << __LINE__ << ")"; \ 61 64 } while(false) 62 65 -
src/test/makefile
r489 r490 1 1 INCLUDEDIRS ?= -I../include 2 CXXFLAGS += -W all -O3 -ansi -pedantic $(INCLUDEDIRS)2 CXXFLAGS += -W -Wall -O3 -ansi -pedantic $(INCLUDEDIRS) 3 3 #LEDAROOT ?= /ledasrc/LEDA-4.1 4 4
Note: See TracChangeset
for help on using the changeset viewer.