#5 lufsmount compile fails with gcc 2.95.4

closed-fixed
None
5
2002-09-07
2002-08-15
No

I hate to always be the bringer of bad news... but....

cd util && make all
make[1]: Entering directory `/usr/src/lufs-0.5.0/util'
g++ -O2 -Wall -I- -I. -I./.. -c -o lufsmount.o
lufsmount.cpp
lufsmount.cpp:23: excess elements in aggregate initializer
lufsmount.cpp:23: excess elements in aggregate initializer
lufsmount.cpp:23: excess elements in aggregate initializer
lufsmount.cpp:23: excess elements in aggregate initializer
lufsmount.cpp: In function `int main(int, char **)':
lufsmount.cpp:208: `struct fs_attr' has no member named
`user_pass'
make[1]: *** [lufsmount.o] Error 1
make[1]: Leaving directory `/usr/src/lufs-0.5.0/util'
make: *** [all] Error 2
pimpbot:/usr/src/lufs-0.5.0# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
pimpbot:/usr/src/lufs-0.5.0#

Discussion

  • Florin Malita

    Florin Malita - 2002-08-15

    Logged In: YES
    user_id=154306

    I hear that gcc3.1 has the same problem... Just can't
    understand how gcc2.96 & gcc3.0.4 compile the stuff while
    2.95 & 3.1 choke... amazing...

    Guess I have to cripple my code again for gcc's sake...

    I HATE GCC !! :)

     
  • Torsten Will

    Torsten Will - 2002-08-15

    Logged In: YES
    user_id=269193

    i sent a mali how to fix it.

     
  • Torsten Will

    Torsten Will - 2002-08-16

    Logged In: YES
    user_id=269193

    really! it is simply a declaration missing in the typedef!
    has nothing to do with gcc.

     
  • Florin Malita

    Florin Malita - 2002-08-16

    Logged In: YES
    user_id=154306

    That's right. My fault.
    I made a last minute change _after_ I created the release
    tarball, and forgot to update a file in that tarball. So in my
    development tree everything works fine, that's why I got so
    confuzed (I've bumped into a aggregate initializer gcc bug
    earlier -
    http://sourceforge.net/tracker/index.php?func=detail&aid=591221&group_id=57332&atid=483771\).
    The release tarball got out of sync.

    Easy fix though...

     
  • Florin Malita

    Florin Malita - 2002-08-16
    • assigned_to: nobody --> mali
     
  • Florin Malita

    Florin Malita - 2002-08-16

    Logged In: YES
    user_id=154306

    Hopefully this is fixed now.

     
  • Florin Malita

    Florin Malita - 2002-09-07
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks