But we can't get it going properly with our cross compilers.
We don't have a cross compiler with c++11 support. c++0x is sufficient on our linux and OS X builds, and *some* win32 systems.
But on other (critical) win32/win64 systems we get multiple errors like this one.
Any ideas about how to fix. Cheers
i686-pc-mingw32-g++ -DWIN32 -O2 -Wall -m32 -DZLIB -std=c++0x -Wall -Wno-write-strings -Wno-char-subscripts -Wno-parentheses -Wno-sign-compare -fdiagnostics-show-option -DINTEGRATED -Isrc/cql -Isrc -o src/cql/i_assignnode.o -c src/cql/assignnode.cpp
In file included from src/cql/util.h:13:0,
from src/cql/node.h:2,
from src/cql/assignnode.cpp:1:
src/cql/squaremask.h:5:8: error: function definition does not declare parameters
src/cql/squaremask.h: In constructor 'SquareMask::SquareMask(Mask)':
src/cql/squaremask.h:6:22: error: 'mask' was not declared in this scope
src/cql/squaremask.h: In member function 'void SquareMask::clear()':
src/cql/squaremask.h:18:16: error: 'mask' was not declared in this scope
src/cql/squaremask.h: In member function 'bool SquareMask::empty()':
src/cql/squaremask.h:19:23: error: 'mask' was not declared in this scope
Ozkan is a compiler guru , and he said there wasn't a C++11 one available.
But i think we can compile with VCC if we have too... just very incovenient,
and the binaries wouldn't be really tested as we've always used mingwx.
I was just hoping someone has seen this before and has a solution.
I've also found that compiling CQL without any -O option, CQL search results are erroneous/wrong ! ??
stevenaaus wrote:Scid vs PC has recently added support for CQL (5.1) query searches (thanks Lionel).
The code is in subversion, and it seems to go ok . https://sourceforge.net/p/scidvspc/code/HEAD/tree/
But we can't get it going properly with our cross compilers.
We don't have a cross compiler with c++11 support. c++0x is sufficient on our linux and OS X builds, and *some* win32 systems.
But on other (critical) win32/win64 systems we get multiple errors like this one.
Any ideas about how to fix. Cheers
i686-pc-mingw32-g++ -DWIN32 -O2 -Wall -m32 -DZLIB -std=c++0x -Wall -Wno-write-strings -Wno-char-subscripts -Wno-parentheses -Wno-sign-compare -fdiagnostics-show-option -DINTEGRATED -Isrc/cql -Isrc -o src/cql/i_assignnode.o -c src/cql/assignnode.cpp
In file included from src/cql/util.h:13:0,
from src/cql/node.h:2,
from src/cql/assignnode.cpp:1:
src/cql/squaremask.h:5:8: error: function definition does not declare parameters
src/cql/squaremask.h: In constructor 'SquareMask::SquareMask(Mask)':
src/cql/squaremask.h:6:22: error: 'mask' was not declared in this scope
src/cql/squaremask.h: In member function 'void SquareMask::clear()':
src/cql/squaremask.h:18:16: error: 'mask' was not declared in this scope
src/cql/squaremask.h: In member function 'bool SquareMask::empty()':
src/cql/squaremask.h:19:23: error: 'mask' was not declared in this scope
Why not just install mingw on a PC and use your same makefiles?
It is easy to obtain gcc 7.2 on windows. It supports C++ 11
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.