1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 <2009> 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 <2009> 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | EPICS Build without '-ansi' |
From: | Rod Nussbaumer <[email protected]> |
To: | [email protected] |
Date: | Wed, 04 Feb 2009 18:15:17 -0800 |
Greetings.I have some C code written elsewhere that I want to compile with the EPICS build system. The code has quite a bit of C++-style commenting in it, and gcc bails with complaints about such commnts, as the standard gcc commandline in EPICS includes the '-ansi' option. Is there any way to remove the -ansi option for this project only? I don't want to modify files in base/configure, as these would affect all builds done against that EPICS release. I do want to create a proper configuration so that future builds of this software will have the proper flags applied.
My build environment is linux-x86 with EPICS 3.14.8.2 &/or 3.14.10. Thanks. Rod Nussbaumer ISAC Controls, TRIUMF Vancouver, BC