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

#102 Cannot compile on GCC 4.x.x and AMD64

closed-fixed
Davy Durham
5
2010-02-27
2006-02-08
Anonymous
No

form:
tomojmail@yahoo.com
output while trying compile:

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.
-I../../../config -I../../../src/misc
-I../../../src/misc/missing/generated
-I../../../src/PoolFile -g -Wall -Wno-unused-function
-Wno-unused-variable -Wno-unused -I/usr/include
-I/usr/include -I/usr/include -MT CNestedDataFile.lo
-MD -MP -MF .deps/CNestedDataFile.Tpo -c
CNestedDataFile.cpp -o CNestedDataFile.o
CNestedDataFile.cpp:21:2: warning: #warning parseFile
doesnt need to set the filename, only the constructor
and setFilename should do that
CNestedDataFile.cpp:22:2: warning: #warning see about
retaining the order that things were parsed in the file
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.
-I../../../config -I../../../src/misc
-I../../../src/misc/missing/generated
-I../../../src/PoolFile -g -Wall -Wno-unused-function
-Wno-unused-variable -Wno-unused -I/usr/include
-I/usr/include -I/usr/include -MT cfg.tab.lo -MD -MP
-MF .deps/cfg.tab.Tpo -c cfg.tab.cc -o cfg.tab.o
anytype.h: In function 'const std::vector<type,
std::allocator<_CharT> >& string_to_anytype(const
std::string&, std::vector<type, std::allocator<_CharT>
>&)':
anytype.h:107: error: there are no arguments to
'cfg_parse' that depend on a template parameter, so a
declaration of 'cfg_parse' must be available
anytype.h:107: error: (if you use '-fpermissive', G++
will accept your code, but allowing the use of an
undeclared name is deprecated)
make[3]: *** [CNestedDataFile.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
anytype.h: In function 'const std::vector<type,
std::allocator<_CharT> >& string_to_anytype(const
std::string&, std::vector<type, std::allocator<_CharT>
>&)':
anytype.h:107: error: there are no arguments to
'cfg_parse' that depend on a template parameter, so a
declaration of 'cfg_parse' must be available
anytype.h:107: error: (if you use '-fpermissive', G++
will accept your code, but allowing the use of an
undeclared name is deprecated)
make[3]: *** [cfg.tab.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/rezound-0.12.2_beta/work/rezound-0.12.2beta/src/misc/CNestedDataFile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/rezound-0.12.2_beta/work/rezound-0.12.2beta/src/misc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/rezound-0.12.2_beta/work/rezound-0.12.2beta/src'
make: *** [all-recursive] Error 1

Discussion

  • Logged In: YES
    user_id=249312

    I am having the exact same problem as you. Any pointers as
    to why does this happen, Davy?

     
  • anli
    anli
    2006-09-08

    Logged In: YES
    user_id=1302609

    The problem takes place with Pentium 4 too. So, it is
    GCC-related problem rather AMD64 one.

    I hope, Davy is busy with ReZound QT-ing :-)

     
  • Logged In: NO

    please add a patch aganist gcc 4.x.x

     
  • Davy Durham
    Davy Durham
    2006-09-12

    Logged In: YES
    user_id=28588

    Sorry.. I've been horrible with getting back to requests
    lately. So busy with work.

    I just built the latest CVS code just fine on an Intel x86
    (32bit) using gcc-4.0.0

    I do not have a machine to test building on AMD64.

    There was a patch for 64bit issues a while back on the
    patches section on the source forge page and these are in
    the CVS tree IIRC.

    Sorry. Davy

     
  • Davy Durham
    Davy Durham
    2006-09-12

    • assigned_to: nobody --> ddurham
     
  • Davy Durham
    Davy Durham
    2010-02-27

    • status: open --> closed-fixed