• Bug#267086: libfwbuilder fails to build with gcc-3.3

    From Georg Glas@1:229/2 to All on Fri Aug 20 18:50:07 2004
    From: [email protected]

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Package: libfwbuilder
    Version: 2.0.1

    Hi,

    cannt tell if already reported (debian server are unreachable yet), but gcc-3.3 does no longer ignore irrelevant WARN_CFLAGS so building libfwbuilder fails when compiling:

    ++ -c -pipe -Wall -W -g -Wno-unused-parameter -fPIC
    - -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I/usr/include/libxml2
    - -I-pthread -I.ui/ -o .obj/Address.o Address.cpp
    cc1plus: Invalid option `-Wno-unused-parameter'
    In file included from ../fwbuilder/FWObjectDatabase.h:33,
    from Address.cpp:32:
    ../fwbuilder/XMLTools.h: In method `bool libfwbuilder::XMLTools::UpgradePredicate::operator ()(const string &) const': ../fwbuilder/XMLTools.h:100: warning: unused parameter `const class string & string'
    In file included from Address.cpp:32:
    ../fwbuilder/FWObjectDatabase.h: In method `bool libfwbuilder::FWObjectDatabase::ConflictResolutionPredicate::askUser(libfwbuilder::FWObject
    *, libfwbuilder::FWObject *)':

    Removing the -Wno-unused-parameter from qmake.inc fixes the problem ..
    - --
    mfg.
    Georg Glas
    Erfolg heisst Bewegung - Hollomey Consultants GmbH
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD4DBQFBJiXmtQwpWC5KK/IRAn6lAJ4pNnkNJITnFf+sUQfpZOBloCYZOwCYtw1k RW0i+8WkVwnDJs0uTIaGBw==
    =/Mez
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Jeremy T. Bouse@1:229/2 to Georg Glas on Fri Aug 20 21:00:23 2004
    From: [email protected]

    I have failed to reproduce a failed compile using GCC 3.3 at
    this point with or without the -Wno-unused-parameter option. GCC reports
    back the following:

    gcc (GCC) 3.3.4 (Debian 1:3.3.4-9)
    Copyright (C) 2003 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    As well removing the QMAKE_CFLAGS_* and QMAKE_CXXFLAGS_*
    declarations in the qmake.inc made no difference on the warnings as
    qmake included '-Wall' when it generated the Makefiles.

    The excerpt you include only show warnings not a failure of the
    build. Unless you can show me a failed build I'm going to consider that
    there is no bug to fix and close this report.

    Regards,
    Jeremy

    On Fri, Aug 20, 2004 at 06:25:07PM +0200, Georg Glas wrote:
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Package: libfwbuilder
    Version: 2.0.1

    Hi,

    cannt tell if already reported (debian server are unreachable yet), but gcc-3.3 does no longer ignore irrelevant WARN_CFLAGS so building libfwbuilder fails when compiling:

    ++ -c -pipe -Wall -W -g -Wno-unused-parameter -fPIC
    - -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I/usr/include/libxml2
    - -I-pthread -I.ui/ -o .obj/Address.o Address.cpp
    cc1plus: Invalid option `-Wno-unused-parameter'
    In file included from ../fwbuilder/FWObjectDatabase.h:33,
    from Address.cpp:32:
    ../fwbuilder/XMLTools.h: In method `bool libfwbuilder::XMLTools::UpgradePredicate::operator ()(const string &) const': ../fwbuilder/XMLTools.h:100: warning: unused parameter `const class string & string'
    In file included from Address.cpp:32:
    ../fwbuilder/FWObjectDatabase.h: In method `bool libfwbuilder::FWObjectDatabase::ConflictResolutionPredicate::askUser(libfwbuilder::FWObject
    *, libfwbuilder::FWObject *)':

    Removing the -Wno-unused-parameter from qmake.inc fixes the problem ..
    - --
    mfg.
    Georg Glas
    Erfolg heisst Bewegung - Hollomey Consultants GmbH
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD4DBQFBJiXmtQwpWC5KK/IRAn6lAJ4pNnkNJITnFf+sUQfpZOBloCYZOwCYtw1k RW0i+8WkVwnDJs0uTIaGBw==
    =/Mez
    -----END PGP SIGNATURE-----



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)