/usr/local/include/wx-2.8/wx/string.h:226: multiple definition
of `tray_misalign'
Vadim Zeitlin
vadim at wxwidgets.org
Wed Apr 16 12:38:15 PDT 2008
On Wed, 16 Apr 2008 12:16:18 -0700 (PDT) Jeff Lacki <jeep at rahul.net> wrote:
JL> I got this
[an astute reader is supposed to insert the contents of the subject here]
JL> as I was trying to port some code.
JL> 'tray_misalign' is my variable. My .h files are all
JL> #ifndef protected. Line 226 of /usr/local/include/wx-2.8/wx/string.h
JL>
JL> bool IsEmpty() const { return (nRefs == -1); }
JL>
JL> What gives?
The only explanation I can see is that you included some header which
re-#defined either IsEmpty() or nRefs as something else. You can probably
get more clues by examining the preprocessor output (i.e. use -E gcc
option).
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list