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  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Applying site-wide c++ standards
From: Simon Rose via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 29 Jan 2021 13:37:25 +0000

Hello -

 

What is the best way to apply global c++ standards throughout an entire installation? Basically, I want to add the flag

 

-std=c++11

 

(or something similar) for every module compiled with that EPICS base installation. There are a lot of *_CXXFLAGS that could be used, and the closest one that I see is the following:

 

$ grep -nr std= configure

configure/os/CONFIG.Common.solaris-sparc-gnu:12:POSIX_CFLAGS = -std=gnu99 -D_POSIX_C_SOURCE=200112L

configure/os/CONFIG.Common.solaris-x86-gnu:12:POSIX_CFLAGS = -std=gnu99 -D_POSIX_C_SOURCE=200112L

 

Is there a commonly-accepted way of doing this at different sites?

 

Cheers,

 

Simon

 

-- 

Simon Rose

Software Engineer

European Spallation Source


Replies:
Re: Applying site-wide c++ standards Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: CS-Studio(Phoebus) Archive Viewer Matlab Export Issue Kasemir, Kay via Tech-talk
Next: Re: Areadetector driver for AVT-Marlin Firewire Camera on Windows Malu, Sandeep Kumar (-, RAL, CLF) via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Areadetector driver for AVT-Marlin Firewire Camera on Windows Malu, Sandeep Kumar (-, RAL, CLF) via Tech-talk
Next: Re: Applying site-wide c++ standards Ralph Lange via Tech-talk
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  <20212022  2023  2024 
ANJ, 01 Feb 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·