Skip to content

Instantly share code, notes, and snippets.

@jmillan
Last active January 10, 2023 21:07
Show Gist options
  • Save jmillan/01bdb058c450c4c258c843f489cf9bf2 to your computer and use it in GitHub Desktop.
Save jmillan/01bdb058c450c4c258c843f489cf9bf2 to your computer and use it in GitHub Desktop.
flatbuffers msvc error
"cl" "-Ideps/libwebrtc\liblibwebrtc.a.p"
"-I..\..\..\deps\libwebrtc"
"-I..\..\..\subprojects\openssl-3.0.7\include"
"-I..\..\..\subprojects\abseil-cpp-20211102.0"
"-I..\..\..\subprojects\flatbuffers-22.11.23\include"
"-I..\..\..\subprojects\flatbuffers-22.11.23\grpc"
"-I..\..\..\subprojects\libuv-v1.44.2\include"
"-DNDEBUG" "/MD" "/nologo" "/showIncludes" "/utf-8" "/W2" "/EHsc" "/std:c++17" "/permissive-" "/O2" "/Gw" "-DMS_LITTLE_ENDIAN" "-DNOMINMAX" "-DWIN32_LEAN_AND_MEAN" "-D_CRT_SECURE_NO_WARNINGS" "-D_SCL_SECURE_NO_WARNINGS" "-D_ENABLE_EXTENDED_ALIGNED_STORAGE" "/Fddeps/libwebrtc\liblibwebrtc.a.p\libwebrtc_system_wrappers_source_field_trial.cc.pdb" /Fodeps/libwebrtc/liblibwebrtc.a.p/libwebrtc_system_wrappers_source_field_trial.cc.obj "/c" ../../../deps/libwebrtc/libwebrtc/system_wrappers/source/field_trial.cc
C:\Users\jmillan\mediasoup\worker\include\FBS\consumer_generated.h(190): error C2059: syntax error: '='
C:\Users\jmillan\mediasoup\worker\include\FBS\consumer_generated.h(194): error C2143: syntax error: missing ';' before '}'
C:\Users\jmillan\mediasoup\worker\include\FBS\consumer_generated.h(196): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
consumer_generated.h lines 189 to 194:
````
189 enum class TraceDirection : uint8_t {
190 IN = 0,
192 OUT = 1,
192 MIN = IN,
193 MAX = OUT
194 };
````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment