|
Boost-Build : |
Subject: [Boost-build] possible bug in c-scanner pattern matching
From: Fadi Beyrouti (fbeyrout_at_[hidden])
Date: 2009-09-30 22:33:10
Hello,
I noticed that some implicit dependencies were not being found correctly in my
C++ code. After some investigation I realized that the files that were not being
found correctly are those that have a tab between the "#include" and the filename
to be included. Looking at the c-scanner pattern rule (in builtin.jam):
return "#[ \t]*include[ ]*(<(.*)>|\"(.*)\")" ;
It did make sense that no match was found. I tried to fix that the following way:
return "#[ \t]*include[ \t]*(<(.*)>|\"(.*)\")" ;
But surprisingly it did not work. Now, I am not a regular expression expert so
I am probably missing something.
Just thought of reporting the bug. If there are any suggestions for a fix, I
would also really appreciate.
Thanks.
-- Fadi,
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk