compiler error

2005-08-28 Thread prohto
Hi everybudy, what could be the reason for this compiler error ( g++ 3.4 ). When I compile the same code with g++-3.3 every is fine. Best regards g++ -DHAVE_CONFIG_H -I. -I. -I.. -DXML_USE_STL -DXML_NEED_STREAM -g -O2 -Wp,-MD,.deps/VXmlCharData.pp -c VXmlCharData.C -fPIC -DPIC -o .libs/VXmlCha

Re: Undefined references to variable problem

2005-08-28 Thread BobR
Brian Arnold wrote in message <[EMAIL PROTECTED]>... >You're absolutely right. I can't believe I missed that. I had > > size_t Object::_sharkcount = 0; > >but no equivalent version for _supersharkcount. That fixed it! Thank >you so much! > [ from a FAQ ] "Avoid a name that will begin with an und

Re: Undefined references to variable problem

2005-08-28 Thread Brian Arnold
You're absolutely right. I can't believe I missed that. I had size_t Object::_sharkcount = 0; but no equivalent version for _supersharkcount. That fixed it! Thank you so much! ___ Help-gplusplus mailing list Help-gplusplus@gnu.org http://lists.gnu.or

Re: Undefined references to variable problem

2005-08-28 Thread Robert Heller
"Brian Arnold" <[EMAIL PROTECTED]>, In a message on 28 Aug 2005 10:44:14 -0700, wrote : "A> Hello, "A> "A> This is my first usenet posting, so please be gentle. :) "A> "A> I have a very odd issue with some fairly simple code I'm trying to get "A> working. In one of my headers, I have the lin

Undefined references to variable problem

2005-08-28 Thread Brian Arnold
Hello, This is my first usenet posting, so please be gentle. :) I have a very odd issue with some fairly simple code I'm trying to get working. In one of my headers, I have the line: static size_t _sharkcount; and if I reference that variable through other functions and whatnot, things are fi