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: aSub and C++ |
From: | Ian Gillingham <[email protected]> |
To: | Simon Hoyle <[email protected]> |
Cc: | [email protected] |
Date: | Mon, 16 Nov 2009 08:10:00 +0000 |
Simon, It sounds like you're experiencing the same issue that I came across a while back. Apparently 'not' has been made a non-ansi reserved word. Easily fixed though, by adding the following compiler switches to your build. I placed these in my Makefile: # The following switch is required if compiling C++ # gensub modules, as the genSubRecord structure declares # a member 'unsigned long not;' # However, 'not' has been made a non-ansi reserved word # but can be switch off as such by this compiler switch :) USR_CXXFLAGS_DEFAULT += -fno-operator-names USR_CXXFLAGS_DEFAULT += -pedantic Best regards, Ian Gillingham Diamond Light Source. Simon Hoyle wrote:
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. |