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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: motorRecord on linux-arm |
From: | Ron Sluiter <[email protected]> |
To: | <[email protected]> |
Date: | Fri, 7 Feb 2014 09:56:11 -0600 |
On 2/7/2014 9:21 AM, [email protected] wrote:
Thanks for the suggestion but MSB_First/LSB_First is set to indicate how C/C++ bit fields are packed, not endianness.I suggest to remove the switch and replace the occurrence of MSB_First with the EPICS provided endianness switch: +#include <epicsEndian.h> -#ifdef MSB_First +#if (EPICS_BYTE_ORDER == EPICS_ENDIAN_BIG)
What compiler and compiler version are you using? Ron