> #include <typeinfo> in DataTypes/Value.cpp
> #include <cstdlib> in ScenarioLoader/LinuxExeLoader.cpp
> #include <cstdlib> in ScerarioLoader/LinuxMemProfiler/LinuxMemProfiler.cpp
These modifications get me this far:
[ 42%] Building CXX object Build/APIs/cpp/CMakeFiles/dxcApi.dir/
DataTypes/SystemCatalog.cpp.o
[ 44%] Building CXX object Build/APIs/cpp/CMakeFiles/dxcApi.dir/
DataTypes/ScenarioData.cpp.o
[ 46%] Building CXX object Build/APIs/cpp/CMakeFiles/dxcApi.dir/
DataTypes/Candidate.cpp.o
[ 48%] Building CXX object Build/APIs/cpp/CMakeFiles/dxcApi.dir/
DataTypes/CommandData.cpp.o
Then there is some more errors on the CommandData.cpp:
[ 48%] Building CXX object Build/APIs/cpp/CMakeFiles/dxcApi.dir/
DataTypes/CommandData.cpp.o
In file included from /home/storrgie/Dev/projects/DXC10/framework/
DXC10-Linux-x86-Oracle/Src/APIs/cpp/DataTypes/CommandData.cpp:19:
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:46: error: ISO C++ forbids
declaration of ‘Literal’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:46: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:48: error: ISO C++ forbids
declaration of ‘vector’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:48: error: invalid use of ‘::’
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:48: error: expected ‘;’ before ‘<’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:49: error: ISO C++ forbids
declaration of ‘DiagnosisData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:49: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:50: error: ISO C++ forbids
declaration of ‘FaultInjectData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:50: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:52: error: ISO C++ forbids
declaration of ‘SensorData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:52: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:53: error: ISO C++ forbids
declaration of ‘ScenarioStatusData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:53: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:54: error: ISO C++ forbids
declaration of ‘ScenarioData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:54: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:55: error: ISO C++ forbids
declaration of ‘ErrorData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:55: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:56: error: ISO C++ forbids
declaration of ‘ProfilingData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:56: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:57: error: ISO C++ forbids
declaration of ‘RecoveryData’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:57: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:59: error: ISO C++ forbids
declaration of ‘Fault’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:59: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:60: error: ISO C++ forbids
declaration of ‘FaultSet’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:60: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:63: error: ISO C++ forbids
declaration of ‘CandidateSet’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:63: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:64: error: ISO C++ forbids
declaration of ‘Candidate’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:64: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:65: error: ‘Fault’ has not been
declared
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:65: error: ISO C++ forbids
declaration of ‘ParameterMap’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:66: error: expected ‘;’ before ‘*’
token
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:67: error: ISO C++ forbids
declaration of ‘vector’ with no type
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:67: error: invalid use of ‘::’
/home/storrgie/Dev/projects/DXC10/framework/DXC10-Linux-x86-Oracle/Src/
APIs/cpp/Parser/MessageParser.ypp:67: error: expected ‘;’ before ‘<’
token
make[2]: *** [Build/APIs/cpp/CMakeFiles/dxcApi.dir/DataTypes/
CommandData.cpp.o] Error 1
make[1]: *** [Build/APIs/cpp/CMakeFiles/dxcApi.dir/all] Error 2
make: *** [all] Error 2
This was after I included <DxcDatatypes.hpp> in the ypp file prior to
install:
MessageParser.ypp:
%{
#include <stdio.h>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <DxcDataTypes.hpp>
There is another place I could do an include... but I'm not sure
exactly what I am fiddling with here.
I noticed that CommandData.cpp had these namespace declarations in
this order:
using namespace Dxc;
using namespace std;
Does it matter?