Skip to content

Instantly share code, notes, and snippets.

@lamont-granquist
Created September 19, 2017 03:58
Show Gist options
  • Save lamont-granquist/38c1db944a8773385d6f562ca2e7d09a to your computer and use it in GitHub Desktop.
Save lamont-granquist/38c1db944a8773385d6f562ca2e7d09a to your computer and use it in GitHub Desktop.
clang++ -c -std=c++1z -stdlib=libc++ -O3 -g -fPIC -fexceptions -ferror-limit=1 -fno-omit-frame-pointer -Wall -Wpedantic -DPROJECT_DIR='std::experimental::filesystem::path("ksp_plugin_adapter/")' -DSOLUTION_DIR='std::experimental::filesystem::path("./")' -DTEMP_DIR='std::experimental::filesystem::path("/tmp")' -DNDEBUG -mmacosx-version-min=10.7 -arch x86_64 -I. -Ideps/glog/src -Ideps/protobuf/src -Ideps/Optional -Ideps/eggsperimental_filesystem/ -Ideps/googletest/googlemock/include -Ideps/googletest/googletest/include -Ideps/googletest/googlemock/ -Ideps/googletest/googletest/ -Ideps/benchmark/include ksp_plugin_test/mock_plugin.cpp -o obj/ksp_plugin_test/mock_plugin.o
In file included from ksp_plugin_test/mock_plugin.cpp:2:
In file included from ./ksp_plugin_test/mock_plugin.hpp:9:
In file included from ./ksp_plugin/plugin.hpp:15:
In file included from ./base/thread_pool.hpp:52:
./base/thread_pool_body.hpp:19:13: error: no function template matches function template specialization 'ExecuteAndSetValue'
inline void ExecuteAndSetValue<void>(std::function<void()> const& function,
^
./base/thread_pool_body.hpp:13:6: note: candidate template ignored: substitution failure [with T = void]: 'promise<void>' is unavailable: introduced in macOS 10.8
void ExecuteAndSetValue(std::function<T()> const& function,
^
In file included from ksp_plugin_test/mock_plugin.cpp:2:
In file included from ./ksp_plugin_test/mock_plugin.hpp:9:
In file included from ./ksp_plugin/plugin.hpp:20:
In file included from ./ksp_plugin/celestial.hpp:7:
In file included from ./ksp_plugin/frames.hpp:9:
In file included from ./ksp_plugin/manœuvre.hpp:9:
In file included from ./physics/dynamic_frame.hpp:7:
In file included from ./physics/ephemeris.hpp:17:
In file included from ./integrators/integrators.hpp:252:
In file included from ./integrators/integrators_body.hpp:9:
In file included from ./integrators/embedded_explicit_runge_kutta_nyström_integrator.hpp:151:
./integrators/embedded_explicit_runge_kutta_nyström_integrator_body.hpp:327:15: warning: unused variable 'extension' [-Wunused-variable]
auto* const extension =
^
In file included from ksp_plugin_test/mock_plugin.cpp:2:
In file included from ./ksp_plugin_test/mock_plugin.hpp:9:
In file included from ./ksp_plugin/plugin.hpp:20:
In file included from ./ksp_plugin/celestial.hpp:7:
In file included from ./ksp_plugin/frames.hpp:9:
In file included from ./ksp_plugin/manœuvre.hpp:9:
In file included from ./physics/dynamic_frame.hpp:7:
In file included from ./physics/ephemeris.hpp:17:
In file included from ./integrators/integrators.hpp:252:
In file included from ./integrators/integrators_body.hpp:10:
In file included from ./integrators/symmetric_linear_multistep_integrator.hpp:177:
In file included from ./integrators/symmetric_linear_multistep_integrator_body.hpp:11:
In file included from ./integrators/symplectic_runge_kutta_nyström_integrator.hpp:227:
./integrators/symplectic_runge_kutta_nyström_integrator_body.hpp:167:15: warning: unused variable 'extension' [-Wunused-variable]
auto* const extension =
^
In file included from ksp_plugin_test/mock_plugin.cpp:2:
In file included from ./ksp_plugin_test/mock_plugin.hpp:9:
In file included from ./ksp_plugin/plugin.hpp:20:
In file included from ./ksp_plugin/celestial.hpp:7:
In file included from ./ksp_plugin/frames.hpp:9:
In file included from ./ksp_plugin/manœuvre.hpp:9:
In file included from ./physics/dynamic_frame.hpp:7:
In file included from ./physics/ephemeris.hpp:23:
In file included from ./serialization/ksp_plugin.pb.h:30:
In file included from deps/protobuf/src/google/protobuf/map_field_inl.h:40:
In file included from deps/protobuf/src/google/protobuf/map_field.h:39:
deps/protobuf/src/google/protobuf/map_entry.h:249:9: warning: using extended field designator is an extension [-Wextended-offsetof]
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MapEntry, entry_lite_._has_bits_),
^ ~~~~~~~~~~~
deps/protobuf/src/google/protobuf/generated_message_reflection.h:580:3: note: expanded from macro 'GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET'
__builtin_offsetof(TYPE, FIELD) \
^ ~~~~~
In file included from ksp_plugin_test/mock_plugin.cpp:2:
In file included from ./ksp_plugin_test/mock_plugin.hpp:9:
In file included from ./ksp_plugin/plugin.hpp:20:
In file included from ./ksp_plugin/celestial.hpp:7:
In file included from ./ksp_plugin/frames.hpp:9:
In file included from ./ksp_plugin/manœuvre.hpp:9:
In file included from ./physics/dynamic_frame.hpp:7:
In file included from ./physics/ephemeris.hpp:23:
In file included from ./serialization/ksp_plugin.pb.h:30:
In file included from deps/protobuf/src/google/protobuf/map_field_inl.h:40:
In file included from deps/protobuf/src/google/protobuf/map_field.h:39:
deps/protobuf/src/google/protobuf/map_entry.h:302:5: warning: using extended field designator is an extension [-Wextended-offsetof]
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MapEntry, entry_lite_.key_),
^ ~~~~~
deps/protobuf/src/google/protobuf/generated_message_reflection.h:580:3: note: expanded from macro 'GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET'
__builtin_offsetof(TYPE, FIELD) \
^ ~~~~~
In file included from ksp_plugin_test/mock_plugin.cpp:2:
In file included from ./ksp_plugin_test/mock_plugin.hpp:9:
In file included from ./ksp_plugin/plugin.hpp:20:
In file included from ./ksp_plugin/celestial.hpp:7:
In file included from ./ksp_plugin/frames.hpp:9:
In file included from ./ksp_plugin/manœuvre.hpp:9:
In file included from ./physics/dynamic_frame.hpp:7:
In file included from ./physics/ephemeris.hpp:23:
In file included from ./serialization/ksp_plugin.pb.h:30:
In file included from deps/protobuf/src/google/protobuf/map_field_inl.h:40:
In file included from deps/protobuf/src/google/protobuf/map_field.h:39:
deps/protobuf/src/google/protobuf/map_entry.h:303:5: warning: using extended field designator is an extension [-Wextended-offsetof]
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MapEntry, entry_lite_.value_),
^ ~~~~~~~
deps/protobuf/src/google/protobuf/generated_message_reflection.h:580:3: note: expanded from macro 'GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET'
__builtin_offsetof(TYPE, FIELD) \
^ ~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
5 warnings and 2 errors generated.
make: *** [obj/ksp_plugin_test/mock_plugin.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment