[20592] Fix hidden overloaded virtual methods#4516
Merged
Conversation
Author
|
@richiprosima please test this |
MiguelCompany
approved these changes
Mar 11, 2024
MiguelCompany
requested changes
Mar 11, 2024
Member
MiguelCompany
left a comment
There was a problem hiding this comment.
Windows related warning: 'eprosima::fastrtps::rtps::PDP::announceParticipantState': ambiguous call to overloaded function
See related suggestion below
5c978d0 to
431a3fc
Compare
Author
|
@richiprosima please test this |
The merge-base changed after approval.
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
…articipantState Signed-off-by: EduPonz <eduardoponz@eprosima.com>
431a3fc to
6a15ead
Compare
Author
|
@richiprosima please test this |
Author
|
@richiprosima please test windows test mac |
Author
|
@Mergifyio backport 2.13.x 2.10.x 2.6.x |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Mar 20, 2024
* Refs #20592: Fix for test Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Fix for examples Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Add more warning flags to Ubuntu CI Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Remove default values on overloaded PDPClient::announceParticipantState Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: EduPonz <eduardoponz@eprosima.com> (cherry picked from commit 63cc242) # Conflicts: # .github/workflows/reusable-ubuntu-ci.yml # test/dds/communication/security/PublisherModule.hpp # test/dds/communication/security/SubscriberModule.hpp
mergify bot
pushed a commit
that referenced
this pull request
Mar 20, 2024
* Refs #20592: Fix for test Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Fix for examples Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Add more warning flags to Ubuntu CI Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Remove default values on overloaded PDPClient::announceParticipantState Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: EduPonz <eduardoponz@eprosima.com> (cherry picked from commit 63cc242) # Conflicts: # .github/workflows/reusable-ubuntu-ci.yml # examples/cpp/dds/DiscoveryServerExample/DiscoveryServerPublisher.h # examples/cpp/dds/DiscoveryServerExample/DiscoveryServerServer.h # examples/cpp/dds/DiscoveryServerExample/DiscoveryServerSubscriber.h # test/blackbox/common/DDSBlackboxTestsDataRepresentationQos.cpp # test/blackbox/common/DDSBlackboxTestsDiscovery.cpp # test/dds/communication/security/PublisherModule.hpp # test/dds/communication/security/SubscriberModule.hpp # test/unittest/statistics/dds/StatisticsDomainParticipantStatusQueryableTests.cpp
This was referenced Mar 20, 2024
mergify bot
pushed a commit
that referenced
this pull request
Mar 20, 2024
* Refs #20592: Fix for test Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Fix for examples Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Add more warning flags to Ubuntu CI Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20592: Remove default values on overloaded PDPClient::announceParticipantState Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: EduPonz <eduardoponz@eprosima.com> (cherry picked from commit 63cc242) # Conflicts: # .github/workflows/reusable-ubuntu-ci.yml # examples/C++/RTPSTest_persistent/TestReaderPersistent.h # examples/C++/RTPSTest_persistent/TestWriterPersistent.h # examples/C++/RTPSTest_registered/TestReaderRegistered.h # examples/C++/RTPSTest_registered/TestWriterRegistered.h # examples/cpp/dds/DiscoveryServerExample/DiscoveryServerServer.h # src/cpp/rtps/builtin/discovery/participant/timedevent/DSClientEvent.cpp # test/blackbox/common/DDSBlackboxTestsBasic.cpp # test/blackbox/common/DDSBlackboxTestsDataRepresentationQos.cpp # test/blackbox/common/DDSBlackboxTestsDiscovery.cpp # test/blackbox/common/DDSBlackboxTestsFindTopic.cpp # test/dds/communication/SubscriberDynamic.cpp # test/dds/communication/security/PublisherModule.hpp # test/dds/communication/security/SubscriberModule.hpp # test/unittest/dds/participant/ParticipantTests.cpp # test/unittest/dds/subscriber/DataReaderHistoryTests.cpp # test/unittest/statistics/dds/StatisticsDomainParticipantStatusQueryableTests.cpp
9 tasks
10 tasks
This was referenced Mar 22, 2024
This was referenced Mar 26, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Before this PR, compiling with GCC option
-Woverloaded-virtualresulted in compilation warnings due to overloaded virtual methods being hidden in derived classes that do not override all the parent's overloads. This PR:@Mergifyio backport 2.13.x 2.12.x 2.10.x 2.6.x
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist