:)  Wolla!

> -----Original Message-----
> From: Richard Anderson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 18, 2000 3:15 PM
> To: Palm Developer Forum
> Subject: RE: #ifndef problem - works for most files but seems to go
> wrong
> 
> 
> Problem sorted, I was being a nugget and declaring a variable 
> in the header
> file instead of just externing it. Gave a rather misleading 
> error message.
> 
> Rik
> 
> > -----Original Message-----
> > From:       Schau, Brian [SMTP:[EMAIL PROTECTED]]
> > Sent:       18 September 2000 13:51
> > To: Palm Developer Forum
> > Subject:    RE: #ifndef problem - works for most files but 
> seems to go
> > wrong
> > 
> > Try posting the offending file .. :)
> > 
> > > -----Original Message-----
> > > From: Richard Anderson 
[mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 18, 2000 2:57 PM
> > To: Palm Developer Forum
> > Subject: #ifndef problem - works for most files but seems to go wrong
> > 
> > 
> > Hi
> > 
> > I am using the standard header file protection:
> > 
> > #ifndef _blah_h
> > #define _blah_h
> > 
> > blah
> > blah
> > blah
> > 
> > #endif
> > 
> > This works fine most of the time. I use it in 10 header 
> > files, but the in
> > the tenth header file it dont work and I get link errors 
> > telling me the data
> > within has been redfined in all the C files which include the 
> > header, ie the
> > protection seems to fail.
> > Ive triple checked everything but I cant see whats wrong. 
> > Anyone seem this
> > before or got any ideas ?
> > 
> > Thanks 
> > 
> > Rik
> > 
> > -- 
> > For information on using the Palm Developer Forums, or to 
> > unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> > 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to