Compiling problem



Hello
I am using GTK+ version 1.2.6 on Solaris(Sparc).
So far it was doing good. 
Recently I have included a header file(say "test.h") to my source code.
But when I compile my source , the compiler outputs the following warning.

Warning:  Invalid white space character in directive

My test.h looks like this:
#ifndef TEST_H
#define TEST_H
    :
    ;
definitions of some structures
    :
#endif		

I've noted that if I link my source to another gtk source file which also in
cludes "gtk/gtk.h", the same thing happens. 

It seems there is something wrong with "define" or "ifndef" directives.
Any suggestions?

Best Regards,
Takdir(takdir@mcb.netwk.ntt-at.co.jp)








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