Well I gave up and ran cmake under linux, which I also needed as the lang.y file did not compile with our yacc!
Afetr editing paths and hacking away as many references to CMAKE_COMMAND as I could I got the make file to call it's first compile command and fell over again.
It seems that with this new g++5 when specifying -std=c++11 snprintf va_list et al do not get including in the correctscope.
eg:
#include <stdio.h>
int main(int argc, char *argv[])
{
char buffer[20];
snprintf(buffer,sizeof(buffer),"%s","this");
printf("%s works?\n",buffer);
}
compiles okay like so
g++ ram:test.cpp -o ram:testit
but not like so:
g++ -std=c++11 ram:test.cpp -o ram:testit
ram:test.cpp: In function 'int main(int, char**)':
ram:test.cpp:6:44: error: 'snprintf' was not declared in this scope
snprintf(buffer,sizeof(buffer),"%s","this");