getopt_long could not be resolved in Eclipse CDT

1.4k views Asked by At

Using the in a C++ program, Eclipse CDT marks getopt_long as "could not be resolved". The code compiles and runs fine using g++ program.cpp. Has this something to do with the Eclipse build set up?

1

There are 1 answers

1
Sash On BEST ANSWER