The following C++ code should be complied and run under Linux.
The program should stay in the while(1) loop forever.
With g++ it does, but compiled with icpc it does not !
Probably a bug in the icc compiler ?!
Please can anyone of you try to compile the main.cpp below?
The program needs a string as argument.
$ icpc main.cpp
$ ./a.out test
-> program ends, but it should run forever !!
=================== CODE ==================
#include <map>using namespace std;int main(int argc, char *argv)
m["aa"] = argv;
if (m.size() == 0)