On 09/08/2016 10:33 AM, Andrew Johnson wrote:
> On the other hand doing this kind of thing using the pre-processor and a
> #pragma optimize() setting is fast and localized, so I would much prefer
> that we stick with that solution if it can do what we need. You can tell
> whether you're building a dynamic binary there by the presence of the
> EPICS_BUILD_DLL macro.
By which I meant doing this inside the C/C++ source file that needs the
optimization turned off. We can even put compiler-specific header files
in src/libCom/osi/compiler/msvc if that kind of thing might help reduce
the amount of boiler-plate that needs to be added.
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- References:
- Fix for building 3.15.4 on windows-x64-static Mark Rivers
- RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Re: Fix for building 3.15.4 on windows-x64-static Ralph Lange
- RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Re: Fix for building 3.15.4 on windows-x64-static Ralph Lange
- RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Re: Fix for building 3.15.4 on windows-x64-static Andrew Johnson
- Navigate by Date:
- Prev:
Re: Fix for building 3.15.4 on windows-x64-static Andrew Johnson
- Next:
RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Index:
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:
Re: Fix for building 3.15.4 on windows-x64-static Andrew Johnson
- Next:
RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|