[Scons-dev] Question on adding .C suffix to CXXSuffixes

Don Baldwin donb at qti.qualcomm.com
Wed Jun 17 18:03:55 EDT 2020


Hi,

I noticed the following code in .../scons/SCons/Tool/cxx.py

CXXSuffixes = ['.cpp', '.cc', '.cxx', '.c++', '.C++', '.mm']
if SCons.Util.case_sensitive_suffixes('.c', '.C'):
    CXXSuffixes.append('.C')

Is this a bug?  Why are we adding '.C' to CXXSuffixes when we haven't added '.c'?

-Don
(new to this group, but been using an older version of SCons for a few years now)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20200617/dcf5edc9/attachment.html>


More information about the Scons-dev mailing list