Community
Participate
Working Groups
From user forums http://www.eclipse.org/forums/index.php?t=msg&th=170780&start=0& The warning produced by GCC is: > ../../../library/../include/Proms/PromsModelObjects/Treatmen tPlanSessionItem.hpp:104: warning: unused parameter ?args? > In file included from ../../../library/../include/Proms/PromsViewObjects/PromsView ObjectComboBox.hpp:16, > from ../../../library/../include/Proms/PromsViewObjects/Treatment PlanSessionItemPanel.hpp:16, > from ../../../library/../include/Proms/PromsViewObjects/Treatment PlanSessionItemDialog.hpp:17, > from ../../../library/../include/Proms/PromsViewObjects/Treatment PlanSessionItemTreeItemData.hpp:17, > from ../../../library/../include/Proms/PromsViewObjects/Treatment PlanSessionTreeItemData.hpp:18, > from ../../../library/../include/Proms/PromsViewObjects/Treatment PlanTreeItemData.hpp:18, > from ../../../library/PromsViewObjects/TreatmentPlanSessionTreePa nel.cpp:17: > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp: In instantiation of ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int, objectId_type&, userId_type&, userName_type&, password_type&, firstName_type&, infix_type&, lastName_type&) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, password_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, firstName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, infix_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, lastName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]?: > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, objectId_type&, userId_type&, userName_type&, password_type&, firstName_type&, infix_type&, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, password_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, firstName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, infix_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int, objectId_type&, userId_type&, userName_type&, password_type&, firstName_type&, infix_type&) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, password_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, firstName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, infix_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, objectId_type&, userId_type&, userName_type&, password_type&, firstName_type&, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, password_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, firstName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int, objectId_type&, userId_type&, userName_type&, password_type&, firstName_type&) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, password_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, firstName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, objectId_type&, userId_type&, userName_type&, password_type&, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, password_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int, objectId_type&, userId_type&, userName_type&, password_type&) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, password_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, objectId_type&, userId_type&, userName_type&, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int, objectId_type&, userId_type&, userName_type&) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, objectId_type&, userId_type&, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int, objectId_type&, userId_type&) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, objectId_type&, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int, objectId_type&) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, int) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from ?static typename Danu::User::boost_param_result_105newCreationArguments<Args >::type Danu::User::boost_param_implnewCreationArguments(const Args&) [with Args = boost::parameter::aux::empty_arg_list]? > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: instantiated from here > /home/jkr/Programming/C++/Danu/include/Danu/DanuModelObjects /User.hpp:94: warning: unused parameter ?args? And the errors that this warning generates are > instantiated from ?static ResultType Danu::User::boost_param_default_105newCreationArguments(Resu ltType (*)(), const Args&, long int, objectId_type&, userId_type&, userName_type&, boost::parameter::aux::use_default_tag) [with ResultType = Danu::UserCreator::UserCreationArguments*, Args = boost::parameter::aux::empty_arg_list, objectId_type = const Danu::ObjectId, userId_type = const int, userName_type = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >]? for each line in the warning that mentions "instantiated" (15 in total).
Committed a fix on HEAD (8.0) and 7.0.1.
*** cdt cvs genie on behalf of agvozdev *** bug 318093: GCCErrorParser treats instantiation warnings as errors [*] GenericErrorParserTests.java 1.14 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GenericErrorParserTests.java?root=Tools_Project&r1=1.13&r2=1.14 [*] GCCErrorParserTests.java 1.10 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java?root=Tools_Project&r1=1.9&r2=1.10 [*] plugin.properties 1.58 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/plugin.properties?root=Tools_Project&r1=1.57&r2=1.58 [*] plugin.properties 1.57.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core/plugin.properties?root=Tools_Project&r1=1.57&r2=1.57.2.1 [*] GenericErrorParserTests.java 1.13.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GenericErrorParserTests.java?root=Tools_Project&r1=1.13&r2=1.13.2.1 [*] GCCErrorParserTests.java 1.9.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java?root=Tools_Project&r1=1.9&r2=1.9.2.1
*** cdt cvs genie on behalf of agvozdev *** bug 318093: fixed test failing Hudson build#248 [*] GCCErrorParserTests.java 1.11 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java?root=Tools_Project&r1=1.10&r2=1.11
*** cdt cvs genie on behalf of agvozdev *** bug 318093: fixed test failing Hudson =1.11 [*] GCCErrorParserTests.java 1.9.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java?root=Tools_Project&r1=1.9.2.1&r2=1.9.2.2