majintao0131 / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Error while building with g++ compiler #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I tried to run make after cmake -L there was an error occured in
yaml-reader/main.cpp - using strcmp function without adding required header 

#include <string.h>

So the issue is only to include string library into taht file.

Best regards,
Mike

Original issue reported on code.google.com by mik...@gmail.com on 27 Jan 2009 at 10:10

GoogleCodeExporter commented 9 years ago
correction, "#include <cstring>" should be used...

Original comment by tiziano....@gmail.com on 27 Jan 2009 at 8:11

GoogleCodeExporter commented 9 years ago
Done (with <cstring>)

Original comment by jbe...@gmail.com on 27 Jan 2009 at 8:16