Get Mac building. Unused variable in boost and missing return

value which wasn't caught in other environments.
master
Monty Brandenberg 2012-04-25 13:18:27 -04:00
parent c09669da92
commit 88bc54192f
2 changed files with 6 additions and 1 deletions

View File

@ -58,6 +58,11 @@ set(llcorehttp_HEADER_FILES
set_source_files_properties(${llcorehttp_HEADER_FILES}
PROPERTIES HEADER_FILE_ONLY TRUE)
if (APPLE)
# Boost headers define unused members so...
set_source_files_properties(${llcorehttp_SOURCE_FILES}
PROPERTIES COMPILE_FLAGS -Wno-unused-variable)
endif (APPLE)
list(APPEND llcorehttp_SOURCE_FILES ${llcorehttp_HEADER_FILES})

View File

@ -91,7 +91,7 @@ public:
inline bool joinable() const
{
mThread->joinable();
return mThread->joinable();
}
private: