EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Build without '-ansi'
From: Michael Abbott <[email protected]>
To: Rod Nussbaumer <[email protected]>
Cc: [email protected]
Date: Thu, 5 Feb 2009 07:24:09 +0000 (GMT)
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  <20092010  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·