[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] extra qualification errors in gcc 4.1.0
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] extra qualification errors in gcc 4.1.0 |
Date: |
Wed, 5 Apr 2006 13:17:06 -0700 |
User-agent: |
Mutt/1.5.9i |
On Wed, Apr 05, 2006 at 12:54:37PM -0700, Erik Tollerud wrote:
> I'm building on FC4 with GCC 4.1.0, and I get a bunch of "extra
> qualification" errors in the C++ code where static functions are
> declared inside a class with the class name prefixed... for example,
> from gnuradio-core/src/lib/general/gr_clock_recovery_mm_cc.h, there's
> a class that looks like:
They're errors and should be fixed.
Can you get me a list of all files that have this problem?
I don't have gcc 4.1.0 installed.
Thanks,
Eric
> gr_complex d_last_sample;
> gri_mmse_fir_interpolator_cc *d_interp;
> gr_complex gr_clock_recovery_mm_cc::slicer_0deg (gr_complex sample);
> gr_complex gr_clock_recovery_mm_cc::slicer_45deg (gr_complex sample);
>
>
> line 77 and 78 are
> gr_complex gr_clock_recovery_mm_cc::slicer_0deg (gr_complex sample);
> gr_complex gr_clock_recovery_mm_cc::slicer_45deg (gr_complex sample);
>
> and GCC 4.1 spits out an error for both, because the
> gr_clock_recovery_mm_cc:: prefix is apparently an "extra
> qualification". This occurs in various points in the code, and all I
> have to do is go in and remove the prefixes, and it compiles fine. Is
> there some reason why these files have been left like this, or should
> they be changed?