View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013526CMakeCMakepublic2012-09-11 13:312013-03-04 08:38
ReporterNicolas Laurent 
Assigned ToDavid Cole 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionunable to reproduce 
Platformx86OSWindowsOS Version7
Product VersionCMake 2.8.9 
Target VersionFixed in Version 
Summary0013526: CMAKE_SIZEOF_VOID_P undefined with Visual Studio 11 generator
DescriptionAs the title says. It works with other generators such as NMake or Visual Studio 10. It doesn't matter if the proper environment is set or not (meaning you get the same result running CMake from the Visual Studio command prompt than from any other command prompt or from the GUI).
Steps To ReproduceUse your imagination :)
TagsNo tags attached.
Attached Files? file icon Platform.cmake [^] (2,256 bytes) 2012-09-11 13:43

 Relationships

  Notes
(0030993)
David Cole (manager)
2012-09-11 13:39

If this is true, then how do our CMake dashboards pass all of the whole test suite using the Visual Studio 11 generator on these dashboards:

  http://open.cdash.org/index.php?project=CMake&filtercount=1&showfilters=1&field1=buildname/string&compare1=63&value1=vs11 [^]
(0030994)
Nicolas Laurent (reporter)
2012-09-11 13:47
edited on: 2012-09-11 13:57

Might be there is something in our setup causing the bug. Else no idea. I set reproducibility to "Always" thinking "it's always reproduceable on our machine", but that's perhaps not what was meant. Sorry if that's the case.

I'm uploading the infringing file.
The execution hits this line:
    message(FATAL_ERROR "Pointers are neither 4 or 8 bytes. WTF ?")
And printing the variable reveals it is empty.

On the system where we tested this, the NMake generator worked fine.
The VS 10 generator was actually tested on another system.
I might install VS11 on that machine and try it out.

(0031002)
Nicolas Laurent (reporter)
2012-09-11 18:28

Tested it on the other machine, and it works fine. I'd be grateful if someone can mark the issue as non-reproducible.

We're investigating what's going on and will let you know if we find out.
(0032446)
Robert Maynard (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-09-11 13:31 Nicolas Laurent New Issue
2012-09-11 13:39 David Cole Note Added: 0030993
2012-09-11 13:43 Nicolas Laurent File Added: Platform.cmake
2012-09-11 13:47 Nicolas Laurent Note Added: 0030994
2012-09-11 13:56 Nicolas Laurent Note Edited: 0030994
2012-09-11 13:57 Nicolas Laurent Note Edited: 0030994
2012-09-11 18:28 Nicolas Laurent Note Added: 0031002
2012-09-11 22:31 David Cole Assigned To => David Cole
2012-09-11 22:31 David Cole Status new => assigned
2012-09-11 22:32 David Cole Status assigned => resolved
2012-09-11 22:32 David Cole Resolution open => unable to reproduce
2013-03-04 08:38 Robert Maynard Note Added: 0032446
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team