pcp
[Top] [All Lists]

pcp configure updates

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp configure updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 04 Nov 2013 21:12:39 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 configure    |    2 +-
 configure.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 1a8772fe4a767692b8dd1f043f93f7acc5e43ef2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Nov 4 20:58:51 2013 +1100

    configure.in - fix HAVE_CONST_DIRENT test
    
    At some point either the gcc pixies messed with compile-time checking
    or the pcp pixies changed the compilation flags so gcc does insane
    compile-time checking.
    
    The sample C code was generating an error because the first and second
    arguments to scandir() were NULL.  Don't even start to think about a
    parallel universe in which this is ever a good idea!
    
    The consequence was that HAVE_CONST_DIRENT is never set, even when
    the scandir() callback routine should have a const struct dirent *
    argument, so we assume struct dirent * and end up with compilation
    errors on some platforms.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp configure updates, Ken McDonell <=