facebookarchive / nuclide

An open IDE for web and native mobile development, built on top of Atom
https://nuclide.io
Other
7.79k stars 682 forks source link

CMake C project and compile_commands.json #1650

Open BigfootN opened 5 years ago

BigfootN commented 5 years ago

Issue and Steps to Reproduce

Hello,

I am having problems using nuclide with compile_commands.json and cmake. When opening a project, knowing it compiles without any problems, I get errors like use of undeclared identifier 'NULL'.

The file compile_commands.json is auto generated from cmake and well placed/copied at the root of the project.

The autocompletion, on the other hand, seems to work very well.

I searched in the /tmp/nuclide* logs, but without any success.

Thank you very much in advance.

Versions

Additional Details