[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    [kprint] Can't use GLOB_TILDE on Solaris
From:       Robert Napier <rnapier () cisco ! com>
Date:       2001-02-28 15:38:46
[Download RAW message or body]

kdelibs/kprint/pdq/scanner.ll includes a reference to GLOB_TILDE in
order to do tilde expansion. This doesn't compile on Solaris:

scanner.ll: In function `void do_try_include(const char *)':
scanner.ll:122: `GLOB_TILDE' undeclared (first use this function)
scanner.ll:122: (Each undeclared identifier is reported only once
scanner.ll:122: for each function it appears in.)
scanner.ll: At top level:
scanner.cpp:1364: warning: `void yyunput(int, char *)' defined but not used
make: *** [scanner.lo] Error 1

glob() can't do tilde expansion on Solaris. You have to use wordexp()
which doesn't appear to exist on Linux....

Since this is the first time I've run into this, and I don't see any
references to glob() in at least kdelibs, I'm assuming that there is a
more correct qt way to do this. If not, I can look into patching up
autoconf and scanner.ll to use glob or wordexp as appropriate (please
tell me there's a better way... :)

Thanks,
Rob
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic