0å¼æ°ã®é¢æ°ã«ãå¼æ°ã渡ãã¦å¼ã³åºãã¦ãã¦ããã³ã³ãã¤ã«ã¨ã©ã¼ãåããªãããªãã§ã ããã ãã«ãã¹ã¬ãããªããã°ã©ã ãæ¸ãã¦ãã¦ãè¬ã®ãã°ã«æ©ã¾ããã¦ããã0å¼æ°ã®é¢æ°ã«å¼æ°ã1ã¤æ¸¡ãã¦ããï¼APIãå¤ããã¨ãã«æ´æ°ãããããï¼ã¨ãããçºè¦ãã¦ããããæ¶ããããã¾ãåãããã«ãªã£ããã£ã±åããªãã£ãããããã æ¤è¨¼ç¨ã³ã¼ããhogeã0å¼æ°ã§å®ç¾©ãã¦ããã®ã«ã gcc -Wall ã§ã³ã³ãã¤ã«ãã¦ãã¨ã©ã¼ãã§ãªãã #include <stdio.h> #include <stdint.h> void * hoge(){ return NULL; } int main(int argc, char * argv[]){ hoge(100); printf("%d %d\n", (int)sizeof(int32_t), (int)sizeof(intptr_t)); return 0; }
{{#tags}}- {{label}}
{{/tags}}