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 | 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 |
<== 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 |