Skip to content

Commit

Permalink
Re #8882. Disable size_t-related warnings on 32 bit compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Mar 3, 2014
1 parent 2539a43 commit 0117a82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/Build/Jenkins/buildscript.bat
Expand Up @@ -17,6 +17,8 @@ if "%NODE_LABELS%"=="%NODE_LABELS:win32=%" (
) ELSE (
set ARCH=win32
set GENERATOR="Visual Studio 11"
:: Turn off warnings relating to size_t
set MSBUILD_OPTIONS="/wd4244"
)

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Expand All @@ -42,7 +44,7 @@ cd %WORKSPACE%\build
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Build step
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
msbuild /nologo /m:%BUILD_THREADS% /nr:false /p:Configuration=Release Mantid.sln
msbuild /nologo /m:%BUILD_THREADS% /nr:false /p:Configuration=Release %MSBUILD_OPTIONS% Mantid.sln
if ERRORLEVEL 1 EXIT /B %ERRORLEVEL%

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Expand Down

0 comments on commit 0117a82

Please sign in to comment.