paequ2@lemmy.today to Programmer Humor@lemmy.mlEnglish · 6 months agoUse this information wiselyimagemessage-square78linkfedilinkarrow-up1595arrow-down19
arrow-up1586arrow-down1imageUse this information wiselypaequ2@lemmy.today to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square78linkfedilink
minus-squarepaequ2@lemmy.todayOPlinkfedilinkarrow-up18·edit-26 months agoIDE users pretending compilers don’t exist. $ guix shell gcc [env]$ g++ test.cpp test.cpp:4:16: warning: `0;' is not in NFC [-Wnormalized=] 4 | return 0<U+037E> | ^~~~~~~~~ test.cpp: In function ‘int main()’: test.cpp:4:16: error: unable to find numeric literal operator ‘operator"";’ test.cpp:4:18: error: expected ‘;’ before ‘}’ token 4 | return 0; | ^ | ; 5 | } | ~ Look ma, no IDE! 😸
IDE users pretending compilers don’t exist.
$ guix shell gcc [env]$ g++ test.cpp test.cpp:4:16: warning: `0;' is not in NFC [-Wnormalized=] 4 | return 0<U+037E> | ^~~~~~~~~ test.cpp: In function ‘int main()’: test.cpp:4:16: error: unable to find numeric literal operator ‘operator"";’ test.cpp:4:18: error: expected ‘;’ before ‘}’ token 4 | return 0; | ^ | ; 5 | } | ~Look ma, no IDE! 😸