bug-gnulib
[Top][All Lists]
Advanced

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

Re: alphasort on HP-NonStop


From: Bruno Haible
Subject: Re: alphasort on HP-NonStop
Date: Thu, 23 Dec 2010 13:40:10 +0100
User-agent: KMail/1.9.9

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]