Re: Question on adding .C suffix to CXXSuffixes
Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Wed, 17 Jun 2020 15:18:06 -0700
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <CAEyG4CF87QRovN+tCQwp8Rbwtd6L6QaxVp1jb6NtFSuATHmOig@mail.gmail.com> |
--===============6332655872197078024== Content-Type: multipart/alternative; boundary="0000000000007396b705a84f09eb" --0000000000007396b705a84f09eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Not a bug. Probably better to send such emails to the user mailing list. .C can be c++ vs .c which is C.. -Bill On Wed, Jun 17, 2020 at 3:04 PM Don Baldwin <donb-Rm6X0d1/[email protected]> wrote: > Hi, > > > > I noticed the following code in =E2=80=A6/scons/SCons/Tool/cxx.py > > > > CXXSuffixes =3D ['.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 =E2=80=98.C=E2=80=99 to CXXSuffixes whe= n we haven=E2=80=99t > added =E2=80=98.c=E2=80=99? > > > > -Don > > (new to this group, but been using an older version of SCons for a few > years now) > _______________________________________________ > Scons-dev mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/scons-dev > --0000000000007396b705a84f09eb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Not a bug.</div><div>Probably better to send such ema= ils to the user mailing list.</div><div><br></div><div>.C can be c++ vs .c = which is C..</div><div><br></div><div>-Bill<br></div></div><br><div class= =3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jun 17, 2020= at 3:04 PM Don Baldwin <<a href=3D"mailto:donb-Rm6X0d1/[email protected]">donb@q= ti.qualcomm.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad= ding-left:1ex"> <div lang=3D"EN-US"> <div class=3D"gmail-m_3408105684961186605WordSection1"> <p class=3D"MsoNormal">Hi,<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">I noticed the following code in =E2=80=A6/scons/SCon= s/Tool/cxx.py<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal" style=3D"margin-left:0.5in"><span style=3D"font-fami= ly:"Courier New"">CXXSuffixes =3D ['.cpp', '.cc',= '.cxx', '.c++', '.C++', '.mm']<u></u><u></= u></span></p> <p class=3D"MsoNormal" style=3D"margin-left:0.5in"><span style=3D"font-fami= ly:"Courier New"">if SCons.Util.case_sensitive_suffixes('.c&#= 39;, '.C'):<u></u><u></u></span></p> <p class=3D"MsoNormal" style=3D"margin-left:0.5in"><span style=3D"font-fami= ly:"Courier New"">=C2=A0=C2=A0=C2=A0 <span style=3D"background:yellow none repeat scroll 0% 0%">CXXSuffixes.appe= nd('.C')</span></span><u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Is this a bug?=C2=A0 Why are we adding =E2=80=98.C= =E2=80=99 to CXXSuffixes when we haven=E2=80=99t added =E2=80=98.c=E2=80=99= ?<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">-Don<u></u><u></u></p> <p class=3D"MsoNormal">(new to this group, but been using an older version = of SCons for a few years now)<u></u><u></u></p> </div> </div> _______________________________________________<br> Scons-dev mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= g</a><br> <a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-dev" rel=3D"no= referrer" target=3D"_blank">https://pairlist2.pair.net/mailman/listinfo/sco= ns-dev</a><br> </blockquote></div> --0000000000007396b705a84f09eb-- --===============6332655872197078024== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev --===============6332655872197078024==--