[Scons-users] #includes within C/C++ comment blocks are not ignored

Raven Kopelman raven.kopelman at safe.com
Thu Oct 12 17:46:55 EDT 2017


Hi Scons folks,

I believe SCons 2.5.0 through 3.0.0 has a bug related to C/C++ comment
parsing.

In 2.4.1 SCons happily ignored #include statements in comment blocks, but
this is no longer the case.

Here is an example of the kind of patch we now have to apply to beecrypt in
order to avoid false complaints about circular dependencies.

+-/* Mark Paton: Removed to use C rather then assembly code
+-#include "blowfishopt.h"
+-*/
++// Mark Paton: Removed to use C rather then assembly code
++// include "blowfishopt.h"

Please advise if there is more information I can provide for this problem.

Thanks,
--
*Raven Kopelman* | Team Lead, Senior Developer

Safe Software Inc.
Suite 2017, 7445 - 132nd Street, Surrey, BC Canada V3W 1J8
*T* 604.501.9985 x 331 <(604)%20501-9985> | *F* 604.501.9965
<(604)%20501-9965>
raven.kopelman at safe.com | www.safe.com

<http://www.safe.com/emailsignature>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171012/6280b164/attachment-0001.html>


More information about the Scons-users mailing list