Details
Description
http://buildbot.askmonty.org/buildbot/builders/win32-debug2/builds/6784/steps/build/logs/stdio
128> CMake Error at C:/bzr/bb-win32/win32-debug2/build/sql/create_initial_db.cmake:84 (MESSAGE): 128> Could not create initial database 128>CUSTOMBUILD : error : Run-Time Check Failure #3 - The variable 'unused' is being used without being initialized. At c:\bzr\bb-win32\win32-debug2\build\sql-common\client_plugin.c:258
Started happening from this revision:
revno: 4394 revision-id: svoj@mariadb.org-20141219191759-zi3qaqyj0vvkh0ba parent: sergii@pisem.net-20141219104403-wo7bvoif9zii3ie5 committer: Sergey Vojtovich <svoj@mariadb.org> branch nick: 5.5 timestamp: Fri 2014-12-19 23:17:59 +0400 message: Fixed a couple of compiler warnings.
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
MDEV-7069 Fix buildbot failures in main server trees
-
- Stalled
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Alexey Botchkov, could you have a look at this?
This build failed on warnings. It seem to be enabled implicitly by "cmake --build . --config Debug", that is by Debug project configuration. See MSVC manual for build configurations description: http://msdn.microsoft.com/en-us/library/wx0123s5.aspx
For such builds we should add definition of FORCE_INIT_OF_VARS. Probably the easiest way is to add set_property(GLOBAL APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG FORCE_INIT_OF_VARS) to cmake/Windows.cmake.