[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] GCC Error Parser catching SWIG warnings
|
The Apache QPid project has a C++ some C++ code that is confusing the
CDT. There are calls to swig in the Makefile that result in some
warnings. Unfortunately, the GCC error parser catches these warnings
from the following regex:
(.*?):(\d+):(\d+:)? (.*)
which is the last in the list and is marked as Error.
For example:
../../../include/qpid/messaging/Message.h:211: Warning 467: Overloaded
method qpid::messaging::decode(qpid::messaging::Message const
&,qpid::types::Variant::List &,std::string const &) not supported (no
type checking rule for 'qpid::types::Variant::List &').
I was wondering on how best to solve this. One way would be to put in a
more tolerant rule in the gcc such as:
(.*):(\d+):\s+?Warning(.*)
Otherwise, a new regex Error parser for swig chould be added and the
user has to manually choose it and order it in the list.
What would be recommended?
-- Jeff J.