{"image_url":null,"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsygh.hatenadiary.jp%2Fentry%2F2018%2F01%2F22%2F010030\" title=\"C/C++\u306e#warning - sygh\u306e\u65b0\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","provider_url":"https://hatena.blog","url":"https://sygh.hatenadiary.jp/entry/2018/01/22/010030","published":"2018-01-22 01:00:30","title":"C/C++\u306e#warning","categories":["C++","C#","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Tips"],"blog_url":"https://sygh.hatenadiary.jp/","author_name":"sygh","description":"\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3092\u610f\u56f3\u7684\u306b\u767a\u751f\u3055\u305b\u308b#error\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u95a2\u3057\u3066\u306f\u3001\u304a\u99b4\u67d3\u307f\u306e#include\u3084#define\u306a\u3069\u3068\u540c\u69d8\u306b\u8a00\u8a9e\u4ed5\u69d8\u3068\u3057\u3066\u6a19\u6e96\u5316\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u304a\u305d\u3089\u304f\u3059\u3079\u3066\u306eC/C++\u51e6\u7406\u7cfb\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002 #ifdef __cplusplus #error This code does not support C++!! #endif \u554f\u984c\u306f\u8b66\u544a\u306e\u307b\u3046\u3067\u3059\u3002C/C++\u3067\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e\u8b66\u544a\u3092\u767a\u751f\u3055\u305b\u308b\u65b9\u6cd5\u306f\u6a19\u6e96\u5316\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 gcc\u306b\u306f#warning\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u5b58\u5728\u3059\u308b\u306e\u3067\u3059\u304c\u3001Visual C++\u306b\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002Clang\u306b\u3082\u5b58\u5728\u3057\u306a\u3044\u3088\u3046\u3067\u3059\u3002 #\u2026","blog_title":"sygh\u306e\u65b0\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u7f6e\u304d\u5834","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/sygh/"}