On Wed, 4 Feb 2009, Rod Nussbaumer wrote:
> 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 have the following lines in my project makefile -- I have exactly this
problem, and I like to use GNU C99 features:
# The lines below defeat the -ansi flag: we want to use some gcc specific
# features (typeof, in particular).
CONFORM_CFLAGS_STRICT =
CONFORM_CXXFLAGS_STRICT =
USR_CFLAGS += -std=gnu99
- Replies:
- Re: EPICS Build without '-ansi' Andrew Johnson
- References:
- EPICS Build without '-ansi' Rod Nussbaumer
- Navigate by Date:
- Prev:
EPICS Build without '-ansi' Rod Nussbaumer
- Next:
Diamond Libera EPICS Driver Michael Abbott
- 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
- Navigate by Thread:
- Prev:
EPICS Build without '-ansi' Rod Nussbaumer
- Next:
Re: EPICS Build without '-ansi' Andrew Johnson
- 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
|