Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 Syntax errors when compiling sibd-0.2 --with-debug=yes

closed-fixed
nobody
None
5
2009-10-20
2009-10-19
Anonymous
No

When compiling sibd-0.2 with --with-debug option on, the compilation fails with the following messages:

In file included from /usr/include/python2.6/pyconfig.h:6,
from /usr/include/python2.6/Python.h:8,
from ../include/sib_operations.h:43,
from sib_operations.c:47:
/usr/include/python2.6/pyconfig-64.h:1022:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/limits.h:27,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/limits.h:122,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/limits.h:11,
from /usr/lib64/glib-2.0/include/glibconfig.h:11,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from sib_operations.c:34:
/usr/include/features.h:158:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/pyconfig.h:6,
from /usr/include/python2.6/Python.h:8,
from ../include/sib_operations.h:43,
from sib_operations.c:47:
/usr/include/python2.6/pyconfig-64.h:1031:1: warning: "_XOPEN_SOURCE" redefined
In file included from /usr/include/limits.h:27,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/limits.h:122,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/limits.h:11,
from /usr/lib64/glib-2.0/include/glibconfig.h:11,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from sib_operations.c:34:
/usr/include/features.h:160:1: warning: this is the location of the previous definition
sib_operations.c: In function ‘m3_insert’:
sib_operations.c:585: error: expected ‘;’ before ‘g_log’
sib_operations.c: In function ‘m3_remove’:
sib_operations.c:696: error: expected ‘;’ before ‘g_log’

Discussion

  • Hannu Laine
    Hannu Laine
    2009-10-20

    Fixed typos in the latest release (timestamp Tue Oct 20 2009 12:41).

     
  • Hannu Laine
    Hannu Laine
    2009-10-20

    • status: open --> closed-fixed