clang fixes.

This commit is contained in:
Ben Vanik 2015-08-01 03:55:50 -07:00
parent 27944c425b
commit 8494ca2eaa
4 changed files with 5 additions and 4 deletions

View File

@ -36,6 +36,7 @@ filter("configurations:Checked")
}) })
flags({"Symbols"}) flags({"Symbols"})
runtime("Debug") runtime("Debug")
filter("configurations:Checked", "platforms:Windows")
buildoptions({ buildoptions({
"/RTCsu", -- Full Run-Time Checks. "/RTCsu", -- Full Run-Time Checks.
}) })
@ -67,7 +68,7 @@ filter("platforms:Linux")
system("linux") system("linux")
toolset("clang") toolset("clang")
buildoptions({ buildoptions({
"-std=c++11", "-std=c++14",
}) })
filter("platforms:Windows") filter("platforms:Windows")

View File

@ -14,7 +14,7 @@
#include "el/elemental_forms.h" #include "el/elemental_forms.h"
#include "el/io/file_manager.h" #include "el/io/file_manager.h"
#include "el/io/posix_file_system.h" #include "el/io/posix_file_system.h"
#include "el/io/win32_res_file_system.h" #include "el/io/win32_res_file_system_win.h"
#include "el/message_handler.h" #include "el/message_handler.h"
#include "el/text/font_manager.h" #include "el/text/font_manager.h"
#include "el/util/metrics.h" #include "el/util/metrics.h"

@ -1 +1 @@
Subproject commit 1511edbc5a0512c403dd86db17b49837f9fff7e2 Subproject commit c0725a31caa3727cbdad03b707ab764ca3a8df15

View File

@ -503,7 +503,7 @@ class BaseBuildCommand(Command):
'make', 'make',
'-Cbuild/', '-Cbuild/',
'config=%s_linux' % (args['config']), 'config=%s_linux' % (args['config']),
] + pass_args, throw_on_error=False) ] + pass_args + args['target'], throw_on_error=False)
print('') print('')
if result != 0: if result != 0:
print('ERROR: build failed with one or more errors.') print('ERROR: build failed with one or more errors.')