diff options
author | Paulo Alcantara <pcacjr@gmail.com> | 2012-01-04 15:40:37 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:21 -0300 |
commit | 744d018dd857543f93f3961cf9e7f70adcc7ce65 (patch) | |
tree | 7b9056bb151d950bbfe2cb665894b136d71b5a7f /tests/testtoposort.cpp | |
parent | 002efe18aa6208dca588a8da737c87c0e13a8a76 (diff) |
Fix BUG #1086 - "generatorrunner segfault processing #include..."
Boost headers typically include the character '#' at the beginning of
any line and just do nothing elese with that unnamed directive. So as
that's not actually an error, rather that's just a just-do-nothing
directive we'll ignore this situtation. There's still a problem when
using #include directives and passing macros as arguments rather than a
path to the header file. Instead of asserting this issue we'll print a
warning message about this issue.
One can also include a path between brackets (for e.g., when defining a
macro or so) so that we cannot simply ignore that. So we need to handle
this kind of stuff as well.
See http://bugs.pyside.org/show_bug.cgi?id=1086.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/testtoposort.cpp')
0 files changed, 0 insertions, 0 deletions