OSDN Git Service
(root)
/
roast
/
roast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e4f4b6e
)
file_stream.hpp: VC++ 4996 警告うざいからなー
author
myun2
<myun2@nwhite.info>
Sat, 7 Jul 2012 08:05:15 +0000
(17:05 +0900)
committer
myun2
<myun2@nwhite.info>
Sat, 7 Jul 2012 08:05:15 +0000
(17:05 +0900)
roast/include/roast/stream/file_stream.hpp
patch
|
blob
|
history
diff --git
a/roast/include/roast/stream/file_stream.hpp
b/roast/include/roast/stream/file_stream.hpp
index
342e2f9
..
dd12aee
100644
(file)
--- a/
roast/include/roast/stream/file_stream.hpp
+++ b/
roast/include/roast/stream/file_stream.hpp
@@
-13,6
+13,9
@@
#define _ROAST_INT_MAX (sizeof(int)/2-1)
#define _ROAST_CLOSABLE_FP(fp) ( fp != stdin && fp != stdout && fp != stderr )
+#ifdef WIN32
+ #pragma warning(disable:4996)
+#endif
namespace roast
{
namespace stream
@@
-56,6
+59,9
@@
namespace roast
///////////////////////////////////////////////////////////////////
}
}
+#ifdef WIN32
+ #pragma warning(default:4996)
+#endif
#include "roast/stream/file_istream.hpp"