[fluxus] "extra qualification on member" with g++ 4.1

Thomas Kappler thomas.kappler at stud.uni-karlsruhe.de
Sat Jul 8 01:55:53 PDT 2006


Hi,

when building with gcc/g++ 4.1, I get 

  src/JackClient.h:68: error: extra qualification
'JackClient::JackPort::' on member 'JackPort'
  scons: *** [src/AudioCollector.o] Error 1

Apparently, this is not valid C++ but was tolerated by g++'s before 4.1,
at least according to e.g. [1].

Just removing the qualification does the job:

  --- src/JackClient.h    2006-07-08 10:33:17.000000000 +0200
  +++ src/JackClient.h.orig       2006-07-08 10:33:01.000000000 +0200
  @@ -65,7 +65,7 @@
          class JackPort
          {
                  public:
  -               JackPort() :
  +               JackPort::JackPort() :
                          Connected(false),Buf(NULL),Port(NULL) {}


Regards,
Thomas

[1]
http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/e988c18133f4555d/05703a2a6847c3f3?lnk=st&q=%22extra+qualification%22+on+member&rnum=9&hl=en#05703a2a6847c3f3




More information about the Fluxus mailing list