From: David R. <dre...@mo...> - 2002-05-27 10:58:20
|
Hi all, I'm having problems using log4cpp::Priority::ERROR. When I just include priority.hh, I get error messages telling me that ERROR is not defined. Putting this:=20 #ifdef ERROR #undef ERROR #endif before including priority.hh enables me to compile, but I'm sure there is a better way of fixing it (some define?).=20 In Priority.hh there is mention of a FAQ, but I can't find it. What is the preferred way of fixing this problem? Regards,=20 David Resnick=20 MobileSpear Inc.=20 |