{"description":"\u3084\u3084\u4e0d\u5b89\u306f\u6b8b\u308b\u304c\u8a66\u3057\u306b\u66f8\u3044\u3066\u307f\u305f\u3002 #include <stdio.h> static int return_ret(void) { __asm__(\"mov eax,0x3\"); } int main(void) { int ret = return_ret(); printf(\"%d\\n\", ret); return 0; } \u3053\u308c\u3092 clang \u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3068 $ clang -O0 -g -masm=intel main.c main.c:6:1: warning: control reaches end of non-void function [-Wreturn-type] }\u2026","url":"https://randommemory.hatenablog.com/entry/2021/05/20/024752","title":"\u30a4\u30f3\u30e9\u30a4\u30f3\u30a2\u30bb\u30f3\u30d6\u30e9","categories":["C/C++"],"version":"1.0","published":"2021-05-20 02:47:52","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2021%2F05%2F20%2F024752\" title=\"\u30a4\u30f3\u30e9\u30a4\u30f3\u30a2\u30bb\u30f3\u30d6\u30e9 - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","image_url":null,"provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/derwind/","author_name":"derwind","height":"190","type":"rich","blog_url":"https://randommemory.hatenablog.com/"}