[CLAM] Mysterious compilation errors

Vegard Sandvold vegard.sandvold at notam02.no
Thu May 19 04:10:01 PDT 2005


Hi David,

compiling the Configurator app, and several other examples, fails with the
same type of errors, so you may be right about the compiler issue. I'm
happy to help you solve the problem, just let me know what info you need.

Vegard


On Thu, May 19, 2005 13:00, David Garcia Garzon said:
> Firstly we are using gcc 3.3.5. Maybe there is some C++ standard addons on
> gcc
> 3.4.3 that could make our namespace usage obsolete. Try to compile some
> plain
> application (build/Examples/Simple/Configurator is one that is fast to
> compile and uses this header for sure). If it fails, then the problem is a
> new way of dealling namespaces and template specializations in gcc 3.4 and
> it
> would be nice if you can give us some feedback to solve this.
>
> But, if it works it should be due to any inclusions or using directive you
> do
> before CLAM inclusions. Maybe moving CLAM includes before your project
> includes and any 'using' directive, and removing 'using' directives out of
> any header could help.
>
> David.
>
> A Dijous 19 Maig 2005 12:16, Vegard Sandvold va escriure:
>> Hi,
>>
>> this seems to be my week of assorted CLAM issues, this time on Linux.
>>
>> I have configure CLAM-0.7.0 on my Fedora Core 3/PlanetCCRMA machine,
>> using
>> a 2.6.10-2.1.ll.rhfc3.ccrma kernel and gcc (GCC) 3.4.3 20050227 (Red Hat
>> 3.4.3-22.fc3) compiler. Specifically, I configured without qwt, portmidi
>> and portaudio.
>>
>> When I try to compile my app, I get bucket loads of the following kind
>> of
>> errors:
>>
>> /usr/local/src/CLAM-0.7.0/src/Defines/TypeInfo.hxx:61: error: extra
>> qualification ignored
>> /usr/local/src/CLAM-0.7.0/src/Defines/TypeInfo.hxx:61: error: explicit
>> specialization of non-template `CLAM::<anonymous class>'
>> /usr/local/src/CLAM-0.7.0/src/Defines/TypeInfo.hxx:61: error: abstract
>> declarator `CLAM::<anonymous class>' used as declaration
>>
>> Seems unlikely that there is something fundamentaly wrong with CLAM. Can
>> there be anything wrong with my setup?
>>
>> Vegard
>
> --
> David García Garzón <david.garcia at removespam.iua.upf.es>
> Phone: 034 93 542 21 99
> Music Technology Group, Institut Universitari de l'Audiovisual
> Universitat Pompeu Fabra
>


-- 
Vegard Sandvold
Systemansvarlig

NOTAM
Nedre gate 5
0551 Oslo
Telefon: (+47) 22 35 80 60
Fax: (+47) 22 35 80 61
Web: http://www.notam02.no
E-post: drift at notam02.no







More information about the clam-users mailing list