Re: [CMake] compiler flags visual studio

2012-01-24 Thread Klaim - Joël Lamotte
On Tue, Jan 24, 2012 at 14:33, Tom Deblauwe wrote: > Hello, > > What compiler flags do you need to enable if you want to use the > possibility to have something like this in your code: > > char Image[width(), height()]; > > This worked before with my compiler(visual studio 2005) but not with the >

Re: [CMake] compiler flags visual studio

2012-01-24 Thread John Drescher
On Tue, Jan 24, 2012 at 8:33 AM, Tom Deblauwe wrote: > Hello, > > What compiler flags do you need to enable if you want to use the possibility > to have something like this in your code: > > char Image[width(), height()]; > > This worked before with my compiler(visual studio 2005) but not with the

[CMake] compiler flags visual studio

2012-01-24 Thread Tom Deblauwe
Hello, What compiler flags do you need to enable if you want to use the possibility to have something like this in your code: char Image[width(), height()]; This worked before with my compiler(visual studio 2005) but not with the cmake generated project. It complains about expecting a consta