At least Pike-v8.0.1916 on Fedora 43 fails in 
src/modules/HTTPLoop/requestobject.c:

Line 693, change:

      int true=1;
      setsockopt( a->to->fd, SOL_TCP, TCP_CORK, &true, 4 );

to:
      int istrue=1;
      setsockopt( a->to->fd, SOL_TCP, TCP_CORK, &istrue, 4 );

Same with line 796 with false, change to isfalse.

true and false are reserved words with c99. Or add -std=gnu90 flag (with gcc at 
least) so that true and false aren't reserved anymore.  Probably changing the 
code is better.

Also, src/modules/_WhiteFish/blobs.c:

Change:

static void exit_blobs_struct( );

to:

static void exit_blobs_struct(struct object *o);


linkfarm.c:

Change:

static void exit_linkfarm_struct( );

to:

static void exit_linkfarm_struct(struct object *o);

These might have a gcc option to prevent this error (signatures don't match), 
but I don't know what it is.


Just something quick I found compiling for a new system.

Reply via email to