Fix build compatibility for OMNeT++ 6.1, 6.2, and 6.3+ #577
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.
This PR fixes compilation errors caused by API changes in recent OMNeT++ versions.
I have verified that the project builds and runs successfully on OMNeT++ 6.1.0, 6.2.0, and 6.3.0 with
quisp_tutorial.Key Changes:
quisp/modules/Logger/JsonLogger.cc:.str()onsimTime()to fix formatting issues with strict type checking in newer compilers/OMNeT++ versions. This change is backward compatible.quisp/test_utils/ModuleType.h:getDocumentation()override. This method became a required pure virtual function starting from OMNeT++ 6.2.#if OMNETPP_VERSION >= 0x602.quisp/test_utils/StaticEnv.h:registerOutputVectorsignature (now requires 3 arguments in v6.1+).setVectorAttribute(removedoverridefor v6.1+ as the virtual method signature changed/removed).getOutputStream(required pure virtual method in v6.x).#if OMNETPP_VERSION >= 0x601.Test Environment:
This change is