File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ endif()
105105
106106if (CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES Clang)
107107 target_compile_options (${PROJECT_NAME} ${MH_PUBLIC_OR_INTERFACE} -pthread)
108+ target_compile_options (${PROJECT_NAME} ${MH_PUBLIC_OR_INTERFACE} -Wno-missing-field-initializers)
108109 target_link_options (${PROJECT_NAME} ${MH_PUBLIC_OR_INTERFACE} -pthread)
109110endif ()
110111
Original file line number Diff line number Diff line change @@ -42,4 +42,8 @@ namespace mh::io
4242 };
4343}
4444
45+ #ifndef MH_COMPILE_LIBRARY
46+ #include " fd_sink.inl"
47+ #endif
48+
4549#endif // __unix__
Original file line number Diff line number Diff line change @@ -38,4 +38,8 @@ class fd_source : public source {
3838};
3939} // namespace mh::io
4040
41+ #ifndef MH_COMPILE_LIBRARY
42+ #include " fd_source.inl"
43+ #endif
44+
4145#endif // __unix__
You can’t perform that action at this time.
0 commit comments