Forgot your password?
typodupeerror

Comment: Re:QNX is the bad touch (Score 1) 61

by variable (#9390789) Attached to: QNX 6.3 Released
Well, I am using a pretty old version of Debian.
#include <iostream>
#include <memory.h>
using namespace std;
int main(void) {
int c;
cin >> c;
char array[c];
memset(array,0,sizeof(array));
cout << "sizeof(array) is " << sizeof(array) << endl;
}
That compiles and runs on Linux and QNX and cygwin without any warnings or errors. Care to post another example of where g++ is "busted" on QNX? Please be sure to test it on other platforms first .

panic: kernel trap (ignored)

Working...