Hello,

Trying to compile AST-OPEN 2014-12-24.

The file:
        lib/libast/string/strexpr.c

has a #define like (at or near line 47):

        #define error(ex,msg)   return(seterror(ex,msg))

this define ("error") is already defined in:

        lib/libast/astsa/error.h

as:

        #define error           _err_msg

I temporarily tried to fix this by changing the definition in:

        lib/libast/string/strexpr.c

to:

        #undef  error
        #define error(ex,msg)   return(seterror(ex,msg))

This bug appears to only cause a compilation warning (using GCC)
but it would still be good to eleiminate this error since there are
already enough other (and possibly more serious) compilation
warnings throughout the AST package.

Thanks for any attention.

----

David A. Morano, PE, PhD
mor...@computer.org

_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to