majintao0131 / yaml-cpp

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

Please include #include <stdlib.h> in stream.h so that size_t is defined #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile on QNX platform.

What is the expected output? What do you see instead?
src/stream.h:17: error: 'size_t' does not name a type

What version of the product are you using? On what operating system?
Yaml Version: 0.2.5
Built on QNX, version unknown

Please provide any additional information below.
add
#include <stdlib.h>
to stream.h

Original issue reported on code.google.com by nite...@google.com on 5 Feb 2011 at 2:41

GoogleCodeExporter commented 9 years ago
Thanks! Done, r430. Instead, I included <cstddef> (stdlib includes stddef).

Original comment by jbe...@gmail.com on 5 Feb 2011 at 10:28