I am trying to compile a c++ file using cygwin. I get the following error :
fatal error: stddef.h: No such file or directory #include
This link provides a solution : link.
But even if I upgrade gcc and g++ package from the UI(setup.exe) it still gives me the same error.How to fix this? How to upgrade it from the cygwin command line?