As noted in the top answers, you must specify where the assembly folders are located, which can be added using the dialog box, by right-clicking on the project and choosing Properties-> C / C ++ General-> Paths and Symbols.
The question remains, which paths should be added.
If you have gcc configured correctly for command line access, and you need to know which default paths include the paths used, just ask it; depending on which language interests you, use:
gcc -xc -v -E /dev/null gcc -x c++ -v -E /dev/null
... the default compiler options that are used when calling gcc will be listed here (and this command also works if "gcc" is really an alias for clang, as in OSX).
/dev/null empty file is used - we tell gcc to parse the empty file
-x <language> defines the language for compilation as necessary, because we do not use a file with the extension that defines the language
-v verbose output, which includes output paths
-E performs only preprocessing, displays the preprocessed file (this prevents gcc from complaining that the empty file is not compiling correctly)
Below is a list of included directories:
#include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks (framework directory) End of search list.
If you enter the directories listed here in this order into the Eclipse paths and symbols dialog box, Eclipse CDT will be able to find the standard headers and possibly some additional headers specific to your OS.
(Thanks to Devnull, the answer to a related question.)