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  2021  2022  2023  2024  2025  <2026 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  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: Problems with clang under MacOS
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Torsten Bögershausen <tboegi at edom.se>
Cc: tech-talk at aps.anl.gov
Date: Mon, 12 Jan 2026 12:08:36 -0800
On 1/10/26 7:02 AM, Torsten Bögershausen via Tech-talk wrote:
Hej Experts,
after problems with C++ code I needed to re-install the
xcode command line tools here.

However, trying to compile a motor driver didn't work very well: 

../smarActMCS2MotorDriver.cpp:151:10: error: integer value 10 is outside the valid range of
      values [0, 7] for the enumeration type 'asynStatus' [-Wenum-constexpr-conversion]
  151 |     case asynParamUndefined: 


=========================
 c++ --version
Apple clang version 17.0.0 (clang-1700.6.3.2)
...
Are there any better suggestions ?

Could you open an issue for asyn?

It looks like some cleverness in asyn now conflicts with some cleverness in clang.



Replies:
Re: Problems with clang under MacOS Torsten Bögershausen via Tech-talk
References:
Problems with clang under MacOS Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: Re: Configuration of the RGA200 communication baud rate Johnson, Andrew N. via Tech-talk
Next: Re: Configuration of the RGA200 communication baud rate Michael Davidsaver 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  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: Problems with clang under MacOS Torsten Bögershausen via Tech-talk
Next: Re: Problems with clang under MacOS Torsten Bögershausen 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  2021  2022  2023  2024  2025  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·