MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CompileBot/comments/55wwlv/testing_thread_feel_free_to_test_stuff_here/d8f6bg9/
r/CompileBot • u/[deleted] • Oct 05 '16
test down there
90 comments sorted by
View all comments
Show parent comment
3
So according to sizeof(size_t), ideone is 32-bit, but I can still use a uint64_t to get a 64-bit number? Hmm... Let's find out once and for all:
sizeof(size_t)
uint64_t
+/u/Compilebot C
#include <stdio.h> int main(){ printf("%zd\n", sizeof (void *)); return 0; }
1 u/CompileBot Oct 05 '16 Output:4^source | ^info | ^git | ^report 3 u/bradenbest Oct 05 '16 +/u/Compilebot bashuname -a 1 u/CompileBot Oct 05 '16 Output:Linux checker 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux^source | ^info | ^git | ^report 3 u/bradenbest Oct 05 '16 Whelp, case closed. It's 64-bit and heavily sandboxed. 2 u/2nd_Ed Oct 06 '16 Nice work.
1
Output:
4
^source | ^info | ^git | ^report
3 u/bradenbest Oct 05 '16 +/u/Compilebot bashuname -a 1 u/CompileBot Oct 05 '16 Output:Linux checker 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux^source | ^info | ^git | ^report 3 u/bradenbest Oct 05 '16 Whelp, case closed. It's 64-bit and heavily sandboxed. 2 u/2nd_Ed Oct 06 '16 Nice work.
+/u/Compilebot bash
uname -a
1 u/CompileBot Oct 05 '16 Output:Linux checker 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux^source | ^info | ^git | ^report 3 u/bradenbest Oct 05 '16 Whelp, case closed. It's 64-bit and heavily sandboxed. 2 u/2nd_Ed Oct 06 '16 Nice work.
Linux checker 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
3 u/bradenbest Oct 05 '16 Whelp, case closed. It's 64-bit and heavily sandboxed. 2 u/2nd_Ed Oct 06 '16 Nice work.
Whelp, case closed. It's 64-bit and heavily sandboxed.
2 u/2nd_Ed Oct 06 '16 Nice work.
2
Nice work.
View all comments
Show parent comment
3
u/bradenbest Oct 05 '16
So according to
sizeof(size_t), ideone is 32-bit, but I can still use auint64_tto get a 64-bit number? Hmm... Let's find out once and for all:+/u/Compilebot C