On Wednesday 12 June 2002 12:44 pm, John Levon wrote:

Thanks John. Looks like something wierd is happening in confdefs.h. I'll have 
to regenerate it.

Angus


> On Wed, Jun 12, 2002 at 12:33:07PM +0100, Angus Leeming wrote:
> >                                 SELECT_TYPE_ARG234 (&infds),
>
> So what does config.h say this is ?

aleem@pneumon:devel-build-> grep SELECT_TYPE_ARG src/config.h
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 (int *)
#define SELECT_TYPE_ARG5 (struct timeval *)

> Mis-detection of the argument types perhaps ... check config.log

configure:12357: checking types of arguments for select()
configure:12389: cxx -std strict_ansi -c -nocleanup -msg_display_number -w1 
-ptr /usr/users/aleem/OTHERS_CODE/lyx/devel-build/lyx_cxx_repository -O2  
-I/usr/local/include   conftest.C 1>&5
cxx: Error: confdefs.h, line 80: #169 expected a declaration
 0; }
-^
cxx: Error: confdefs.h, line 80: #169 expected a declaration
 0; }
----^
cxx: Warning: /usr/include/sys/types.h, line 88: #12-D parsing restarts here
          after previous syntax error
typedef signed long     ptrdiff_t;
---------------------------------^
cxx: Info: 2 errors detected in the compilation of "conftest.C".
configure: failed program was:
#line 12370 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern int select (int,fd_set *,fd_set *,fd_set *,struct timeval *);
int main() {

; return 0; }


Reply via email to