Keri Harris | 27 Jul 08:38
Favicon

[BUG] syntax error(s) in config.in.h

A vanilla compile on an x86_64 Linux box is producing:

In file included from ./console/yap.c:19:
../config.h:127: error: expected identifier or '(' before '/' token
In file included from ./include/YapInterface.h:29,
                 from ./console/yap.c:20:
../include/yap_structs.h:36: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'YAP_Term'
<snip 100s of errors>
make: *** [arrays.o] Error 1
make: *** [absmi.o] Error 1

This is ultimately caused by an error in config.h.in:

#undef   FFVAX   		/* manual */
<snip>
#define  FAFloat double		/* manual */

The autoconf manual indicates that nothing should appear after the autoheader 
symbol. [1]

The attached patch moves the offending comments to preceding lines.

Keri

[1] 
http://www.gnu.org/software/autoconf/manual/html_node/Header-Templates.html#Header-Templates
Attachment (yap-config.h.in.patch): text/x-diff, 624 bytes
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Gmane