bug-gnulib
[Top][All Lists]
Advanced

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

RE: alphasort on HP-NonStop


From: Joachim Schmitz
Subject: RE: alphasort on HP-NonStop
Date: Thu, 23 Dec 2010 14:39:47 +0100

You mean add alphasort to gllib/dirent.in.h?

We don't have an alphasort elsewhere
And yes, we're quite a bit behind the current POSIX...

-----Original Message-----
From: Bruno Haible [mailto:address@hidden 
Sent: Thursday, December 23, 2010 1:40 PM
To: Joachim Schmitz
Cc: address@hidden
Subject: Re: alphasort on HP-NonStop

Joachim Schmitz wrote:
> alphasort missing, need to modify gllib/dirent.in.h? How?
> source='test-dirent-c++.cc' object='test-dirent-c++.o' libtool=no  
> DEPDIR=.depsdepmode=none /bin/sh ./../build-aux/depcomp  c++ 
> -HAVE_CONFIG_H -I.   -DGNULIB_STRICT_CHECKING=1  -I. -I.  -I.. -I./..  
> -I../gllib -I./../gllib -I/usr/local/include  -Wnowarn -c -o 
> test-dirent-c++.o test-dirent-c++.cc
>   _GL_CXXALIAS_SYS_CAST (alphasort, int,
>   ^
> "/usr/local/Floss/gnulib/testdir-posix/gltests/./../gllib/dirent.h", line 
> 471: error(363):
>           the global scope has no "alphasort"

Gnulib has an 'alphasort' module that provides a replacement when the function 
is missing. The error message here makes me think that the function exists on 
your system but its declaration is missing.

Can you add the declaration to <dirent.h>?

References:
<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html>
<http://pubs.opengroup.org/onlinepubs/9699919799/functions/alphasort.html>

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]