Closed GoogleCodeExporter closed 9 years ago
The headers are already placed in PREFIX/yaml-cpp/, so there shouldn't be a
conflict as long as you always use
#include "yaml-cpp/yaml.h"
Or is there a conflict I'm missing?
Original comment by jbe...@gmail.com
on 12 Nov 2011 at 6:48
In your tutorial you use #include "yaml.h" which is why I wondered. This should
be made consistent. At any rate, I still think it should be renamed to resolve
any and all ambiguities and .hpp seems more proper for C++.
Original comment by svenst...@gmail.com
on 12 Nov 2011 at 7:05
Good catch! I changed that to "yaml-cpp/yaml.h" in the documentation.
In general, I prefer .h, even for C++, and since it's in its own folder, there
shouldn't be any ambiguity with libyaml's yaml.h.
Original comment by jbe...@gmail.com
on 13 Nov 2011 at 6:20
Original issue reported on code.google.com by
svenst...@gmail.com
on 12 Nov 2011 at 6:23