Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failed for mac using cmake then make. #8

Open
bangonkali opened this issue Aug 15, 2017 · 1 comment
Open

Compilation failed for mac using cmake then make. #8

bangonkali opened this issue Aug 15, 2017 · 1 comment

Comments

@bangonkali
Copy link

Compilation failed for mac after issue #7.

➜  dnp3-build make -j4
Scanning dependencies of target openpal
[  0%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/WSlice.cpp.o
[  1%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/RSlice.cpp.o
[  2%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/MonotonicTimestamp.cpp.o
[  2%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/Buffer.cpp.o
[  2%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimeDuration.cpp.o
[  2%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/Logger.cpp.o
[  3%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimerRef.cpp.o
[  4%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/StringFormatting.cpp.o
[  4%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/ByteSerialization.cpp.o
[  5%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/DoubleFloat.cpp.o
[  5%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/FloatByteOrder.cpp.o
[  6%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Format.cpp.o
[  6%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Parse.cpp.o
[  7%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/SingleFloat.cpp.o
[  7%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/UInt48LE.cpp.o
[  8%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/Limits.cpp.o
[  8%] Building CXX object CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/ToHex.cpp.o
[  9%] Linking CXX shared library libopenpal.dylib
[  9%] Built target openpal
Scanning dependencies of target asiopal
Scanning dependencies of target opendnp3
[ 11%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ChannelRetry.cpp.o
[ 11%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOSerialHelpers.cpp.o
[ 11%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Executor.cpp.o
[ 11%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/IOpenDelayStrategy.cpp.o
[ 12%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/LogLevels.cpp.o
[ 12%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUBuilders.cpp.o
[ 13%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ResourceManager.cpp.o
[ 14%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUHeader.cpp.o
[ 14%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDULogging.cpp.o
[ 15%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDURequest.cpp.o
[ 15%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SerialChannel.cpp.o
[ 15%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUResponse.cpp.o
[ 16%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUWrapper.cpp.o
[ 16%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogCommandEvent.cpp.o
[ 17%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogOutput.cpp.o
[ 17%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AppControlField.cpp.o
[ 18%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SocketChannel.cpp.o
[ 19%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/BinaryCommandEvent.cpp.o
[ 19%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ClassField.cpp.o
[ 20%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ControlRelayOutputBlock.cpp.o
[ 20%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/EventTriggers.cpp.o
[ 21%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/Functions.cpp.o
[ 21%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/GroupVariationRecord.cpp.o
[ 22%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/HeaderWriter.cpp.o
[ 22%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/IINField.cpp.o
[ 23%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/MeasurementTypes.cpp.o
[ 23%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPClient.cpp.o
[ 23%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/OctetData.cpp.o
[ 24%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/QualityFlags.cpp.o
[ 24%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/SecurityStat.cpp.o
[ 25%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUHeaderParser.cpp.o
[ 25%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUParser.cpp.o
[ 26%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPServer.cpp.o
[ 27%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/BitReader.cpp.o
[ 27%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ThreadPool.cpp.o
[ 27%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountIndexParser.cpp.o
[ 28%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountParser.cpp.o
[ 28%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/FreeFormatParser.cpp.o
[ 29%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/IAPDUHandler.cpp.o
[ 29%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/NumParser.cpp.o
[ 30%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TimeConversions.cpp.o
[ 30%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Timer.cpp.o
[ 31%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/ObjectHeaderParser.cpp.o
[ 32%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/UTCTimeSource.cpp.o
[ 32%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/RangeParser.cpp.o
[ 32%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Attributes.cpp.o
[ 33%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/AuthErrorCode.cpp.o
[ 33%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CertificateType.cpp.o
[ 34%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChallengeReason.cpp.o
[ 34%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChannelState.cpp.o
[ 35%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandPointState.cpp.o
[ 35%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandStatus.cpp.o
[ 36%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ControlCode.cpp.o
[ 36%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/DoubleBit.cpp.o
[ 37%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlagsType.cpp.o
[ 37%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlowControl.cpp.o
[ 38%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FunctionCode.cpp.o
[ 38%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/GroupVariation.cpp.o
[ 39%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/HMACType.cpp.o
[ 39%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/IntervalUnits.cpp.o
[ 40%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyChangeMethod.cpp.o
[ 40%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyStatus.cpp.o
[ 41%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyWrapAlgorithm.cpp.o
[ 41%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkFunction.cpp.o
[ 42%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkStatus.cpp.o
[ 42%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/MasterTaskType.cpp.o
[ 43%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Parity.cpp.o
[ 43%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/QualifierCode.cpp.o
[ 44%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/StopBits.cpp.o
[ 44%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/TaskCompletion.cpp.o
[ 45%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserOperation.cpp.o
[ 45%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserRole.cpp.o
[ 46%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/CRC.cpp.o
[ 46%] Linking CXX shared library libasiopal.dylib
[ 46%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkContext.cpp.o
[ 47%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkFrame.cpp.o
[ 47%] Built target asiopal
[ 47%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeader.cpp.o
[ 48%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeaderFields.cpp.o
[ 48%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayer.cpp.o
[ 49%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayerParser.cpp.o
[ 49%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/PriLinkLayerStates.cpp.o
[ 50%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/SecLinkLayerStates.cpp.o
[ 50%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/ShiftableBuffer.cpp.o
[ 51%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/AssignClassTask.cpp.o
[ 51%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/ClearRestartTask.cpp.o
[ 52%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSet.cpp.o
[ 52%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSetOps.cpp.o
[ 53%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTask.cpp.o
[ 53%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTaskResult.cpp.o
[ 54%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/DisableUnsolicitedTask.cpp.o
[ 54%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EmptyResponseTask.cpp.o
[ 55%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EnableUnsolicitedTask.cpp.o
[ 55%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EventScanTask.cpp.o
[ 56%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/HeaderTypes.cpp.o
[ 56%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/IMasterTask.cpp.o
[ 57%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/ITaskLock.cpp.o
[ 57%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterContext.cpp.o
[ 58%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterScheduler.cpp.o
[ 58%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterTasks.cpp.o
[ 59%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp.o
[ 59%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MultidropTaskLock.cpp.o
[ 60%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/PollTaskBase.cpp.o
[ 60%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/RestartOperationTask.cpp.o
[ 61%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/SerialTimeSyncTask.cpp.o
[ 61%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/SimpleRequestTaskBase.cpp.o
[ 62%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/TaskComparison.cpp.o
[ 62%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/StartupIntegrityPoll.cpp.o
[ 63%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/UserPollTask.cpp.o
[ 63%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group1.cpp.o
[ 64%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group10.cpp.o
[ 64%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group11.cpp.o
[ 65%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group12.cpp.o
[ 65%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group120.cpp.o
[ 65%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group121.cpp.o
[ 66%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group122.cpp.o
[ 66%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group13.cpp.o
[ 67%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group2.cpp.o
[ 67%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group20.cpp.o
[ 68%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group21.cpp.o
[ 68%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group22.cpp.o
[ 69%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group23.cpp.o
[ 69%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group3.cpp.o
[ 70%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group30.cpp.o
[ 70%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group32.cpp.o
[ 71%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group4.cpp.o
[ 71%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group40.cpp.o
[ 72%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group41.cpp.o
[ 72%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group42.cpp.o
[ 73%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group43.cpp.o
[ 73%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group50.cpp.o
[ 74%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group51.cpp.o
[ 75%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ApplicationIIN.cpp.o
[ 75%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group52.cpp.o
[ 75%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/AssignClassHandler.cpp.o
[ 76%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ClassBasedRequestHandler.cpp.o
[ 76%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandActionAdapter.cpp.o
[ 77%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandResponseHandler.cpp.o
[ 77%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/Database.cpp.o
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/opendnp3/outstation/Database.cpp:21:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/opendnp3/outstation/Database.h:29:
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/DatabaseBuffers.h:70:7: warning: 'Unselect' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
 void Unselect();
      ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/IStaticSelector.h:39:15: note: overridden virtual function is here
 virtual void Unselect() = 0;
              ^
[ 78%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseBuffers.cpp.o
1 warning generated.
[ 78%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseConfigView.cpp.o
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/opendnp3/outstation/DatabaseBuffers.cpp:21:
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/opendnp3/outstation/DatabaseBuffers.h:70:7: warning: 'Unselect' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
 void Unselect();
      ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/IStaticSelector.h:39:15: note: overridden virtual function is here
 virtual void Unselect() = 0;
              ^
[ 79%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DeferredRequest.cpp.o
[ 79%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBuffer.cpp.o
[ 80%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBufferConfig.cpp.o
1 warning generated.
[ 80%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventCount.cpp.o
[ 81%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventWriter.cpp.o
[ 81%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IINHelpers.cpp.o
[ 82%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IOutstationApplication.cpp.o
[ 82%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationContext.cpp.o
[ 83%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationStates.cpp.o
[ 83%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ReadHandler.cpp.o
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/opendnp3/outstation/OutstationContext.cpp:21:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/opendnp3/outstation/OutstationContext.h:34:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/Database.h:29:
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/DatabaseBuffers.h:70:7: warning: 'Unselect' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
 void Unselect();
      ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/IStaticSelector.h:39:15: note: overridden virtual function is here
 virtual void Unselect() = 0;
              ^
[ 84%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/RequestHistory.cpp.o
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/opendnp3/outstation/OutstationStates.cpp:24:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/OutstationContext.h:34:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/Database.h:29:
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/DatabaseBuffers.h:70:7: warning: 'Unselect' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
 void Unselect();
      ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/IStaticSelector.h:39:15: note: overridden virtual function is here
 virtual void Unselect() = 0;
              ^
[ 84%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ResponseContext.cpp.o
[ 85%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SOERecord.cpp.o
1 warning generated.
[ 85%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SelectedRanges.cpp.o
1 warning generated.
[ 86%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SimpleCommandHandler.cpp.o
[ 86%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticBuffers.cpp.o
[ 87%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticLoadFunctions.cpp.o
[ 87%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/WriteHandler.cpp.o
[ 88%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportLayer.cpp.o
[ 88%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportRx.cpp.o
[ 89%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportStack.cpp.o
[ 89%] Building CXX object CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportTx.cpp.o
[ 90%] Linking CXX shared library libopendnp3.dylib
[ 90%] Built target opendnp3
Scanning dependencies of target asiodnp3
[ 90%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ConsoleLogger.cpp.o
[ 90%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/Conversions.cpp.o
[ 91%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Channel.cpp.o
[ 91%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Manager.cpp.o
[ 92%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3ManagerImpl.cpp.o
[ 92%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultListenCallbacks.cpp.o
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/DNP3Channel.cpp:26:
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/MasterStack.h:97:15: warning: 'OnFrame' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
 virtual bool OnFrame(const opendnp3::LinkHeaderFields& header, const openpal::RSlice& userdata)
              ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/link/IFrameSink.h:40:15: note: overridden virtual function is here
 virtual bool OnFrame(const LinkHeaderFields& header, const openpal::RSlice& userdata) = 0;
              ^
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/DNP3Channel.cpp:26:
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/MasterStack.h:102:15: warning: 'BeginTransmit' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
 virtual void BeginTransmit(const openpal::RSlice& buffer, opendnp3::ILinkSession& context)
              ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/link/ILinkTx.h:43:15: note: overridden virtual function is here
 virtual void BeginTransmit(const openpal::RSlice& buffer, ILinkSession& context) = 0;
              ^
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/DNP3Channel.cpp:27:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/OutstationStack.h:27:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/OutstationContext.h:34:
In file included from /Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/Database.h:29:
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/DatabaseBuffers.h:70:7: warning: 'Unselect' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
 void Unselect();
      ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/outstation/IStaticSelector.h:39:15: note: overridden virtual function is here
 virtual void Unselect() = 0;
              ^
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/DNP3Channel.cpp:27:
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/OutstationStack.h:96:15: warning: 'OnFrame' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
 virtual bool OnFrame(const opendnp3::LinkHeaderFields& header, const openpal::RSlice& userdata)
              ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/link/IFrameSink.h:40:15: note: overridden virtual function is here
 virtual bool OnFrame(const LinkHeaderFields& header, const openpal::RSlice& userdata) = 0;
              ^
In file included from /Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/DNP3Channel.cpp:27:
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/OutstationStack.h:101:15: warning: 'BeginTransmit' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
 virtual void BeginTransmit(const openpal::RSlice& buffer, opendnp3::ILinkSession& context)
              ^
/Users/gilmichael/Desktop/Projects/dnp3/./cpp/libs/src/opendnp3/link/ILinkTx.h:43:15: note: overridden virtual function is here
 virtual void BeginTransmit(const openpal::RSlice& buffer, ILinkSession& context) = 0;
              ^
[ 93%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultMasterApplication.cpp.o
[ 93%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ErrorCodes.cpp.o
[ 94%] Building CXX object CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/IOHandler.cpp.o
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/ErrorCodes.cpp:29:28: error: implicit instantiation of undefined template 'std::__1::basic_string<char,
      std::__1::char_traits<char>, std::__1::allocator<char> >'
std::string ErrorCategory::message(int ev) const
                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:60: note: template is declared here
    class __attribute__ ((__type_visibility__("default"))) basic_string;
                                                           ^
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/ErrorCodes.cpp:34:10: error: implicit instantiation of undefined template 'std::__1::basic_string<char,
      std::__1::char_traits<char>, std::__1::allocator<char> >'
  return "The operation was requested while the resource was shutting down";
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:60: note: template is declared here
    class __attribute__ ((__type_visibility__("default"))) basic_string;
                                                           ^
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/ErrorCodes.cpp:36:10: error: implicit instantiation of undefined template 'std::__1::basic_string<char,
      std::__1::char_traits<char>, std::__1::allocator<char> >'
  return "Not built with TLS support";
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:60: note: template is declared here
    class __attribute__ ((__type_visibility__("default"))) basic_string;
                                                           ^
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/ErrorCodes.cpp:38:10: error: implicit instantiation of undefined template 'std::__1::basic_string<char,
      std::__1::char_traits<char>, std::__1::allocator<char> >'
  return "Not built with serial support";
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:60: note: template is declared here
    class __attribute__ ((__type_visibility__("default"))) basic_string;
                                                           ^
/Users/gilmichael/Desktop/Projects/dnp3/cpp/libs/src/asiodnp3/ErrorCodes.cpp:40:10: error: implicit instantiation of undefined template 'std::__1::basic_string<char,
      std::__1::char_traits<char>, std::__1::allocator<char> >'
  return "unknown error";
         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:60: note: template is declared here
    class __attribute__ ((__type_visibility__("default"))) basic_string;
                                                           ^
5 errors generated.
make[2]: *** [CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ErrorCodes.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
5 warnings generated.
make[1]: *** [CMakeFiles/asiodnp3.dir/all] Error 2
make: *** [all] Error 2

Mac Version

➜  dnp3-build sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G29
@jadamcrain
Copy link
Member

Looks like this version of Clang is being super aggressive with requiring "override":

We can either explicitly disable "-Winconsistent-missing-override" or we can actually go an fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants