Re: #define weirdness



pjmlp progtools org wrote:
That only works if on the other files you include
the one that #defines the symbol

Citando Bart Verstraete <bartverstraete telenet be>:

  
Hi,

did I fell asleep during lessons or what?? If I do "#define BLABLA" you 
can do in other source files "#ifdef BLABLA"(with a #endif ofcourse) and 
it will return true, right? Well in my code it return only true in the 
source file where its defined.

Pls tell me that I fell asleep :-)

Grts Bart
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

    




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

  
Aha ok, got a work around for it, inmy compilaion command I added -DBLABLA  and guess what It WORKS :-)

but thx for reminding me on that one.

grts Bart


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]