[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#665751: include/stddef.h:150:9: error: expected ‘;’, identifier or ‘(’ before ‘long’



Package: gcc-4.6
Version: 4.6.3-1
Severity: normal

Dear Maintainer,

What led up to the situation?: trying a little example of C code.
What exactly did you do: gcc mainWindow.c -o mainw `pkg-config --cflags --libs
gtk+-3.0 gmodule-export-2.0`

What was the outcome of this action?:
In file included from /usr/include/glib-2.0/glib/gmacros.h:40:0,
                 from /usr/lib/x86_64-linux-
gnu/glib-2.0/include/glibconfig.h:9,
                 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 /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:32,
                 from mainWindow.c:2:
/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h:150:9: error: expected
‘;’, identifier or ‘(’ before ‘long’

What outcome did you expect instead?: No errors...



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.6 depends on:
ii  binutils      2.22-6
ii  cpp-4.6       4.6.3-1
ii  gcc-4.6-base  4.6.3-1
ii  libc6         2.13-27
ii  libgcc1       1:4.7.0-1
ii  libgmp10      2:5.0.4+dfsg-1
ii  libgomp1      4.7.0-1
ii  libmpc2       0.9-4
ii  libmpfr4      3.1.0-4
ii  libquadmath0  4.7.0-1
ii  zlib1g        1:1.2.6.dfsg-2

Versions of packages gcc-4.6 recommends:
ii  libc6-dev  2.13-27

Versions of packages gcc-4.6 suggests:
pn  binutils-gold        <none>
pn  gcc-4.6-doc          <none>
pn  gcc-4.6-locales      <none>
pn  gcc-4.6-multilib     <none>
pn  libgcc1-dbg          <none>
pn  libgomp1-dbg         <none>
pn  libmudflap0-4.6-dev  <none>
pn  libmudflap0-dbg      <none>
pn  libquadmath0-dbg     <none>

-- no debconf information



Reply to: