Re: Help with GCC - part II



Alright, I see what I did wrong.  Thanks for helping me.

I am writing a function for Gnumeric and my code was something like:

/* some functions */

#infdef STANDALONE
int main()
{
        /* some code to test the functions */
}
#endif


I can see now that the reason why this would compile within Gnumeric
without STANDALONE is that Gnumeric has its own main() elsewhere.

I'm sorry for the false alarm.  I guess I panicked when I had to do an
fsck and lots of inodes were destroyed.

Many thanks to "Dark Knight" and Joe.

Best,
Daniel.




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