#5 Taskbar-0.5.5 compile problem w/gcc 2.95.3

open
5
2003-07-07
2003-04-18
Anonymous
No

When making under Slackware Linux using gcc 2.95.3, I get the
following error:

OXTaskBar.cc: In method `void
OXTaskBar::LaunchSwallow(char *)':
OXTaskBar.cc:1047:
implicit declaration of function `int isblank(...)'

THE
FIX:
To fix this i had to add "-D_USE_ISOC99" as a compilation
flag. isblank() is declared inside of header file ctype.h. My version of
ctype.h wraps the definition of isblank() with "#ifdef
_USE_ISOC99".

I don't know if there is an elegant fix, but
the above worked for me.

-armani

Discussion

    • assigned_to: nobody --> hperaza
     
    • labels: --> xclass applications