Prev: How to run multiple commands in -exec of find command
Next: Finding the largest files in a filesystem (or highest values in a list) quickly
From: frank on 30 Jan 2010 14:50 Seebs wrote: > On 2010-01-27, frank <frank(a)example.invalid> wrote: >>> $ diff <(gcc -dM -E -x c -std=c89 /dev/null) \ >>> <(gcc -dM -E -x c -std=c99 /dev/null) >>> 79a80 >>> > #define __STDC_VERSION__ 199901L >>> 98a100 >>> > #define __GNUC_STDC_INLINE__ 1 >>> 117d118 >>> < #define __GNUC_GNU_INLINE__ 1 > >> Thanks, Geoff, unfortunately you need to dumb it down to me: > > The thing after the $, and the next line (because of the \), were the > command. > > The rest of this was output from that command on his system, which > he included in the post for illustration. dan(a)dan-desktop:~/source/unleashed/ch11$ diff <(gcc -dM -E -x c -std=c89 /dev/null) \ > <(gcc -dM -E -x c -std=c99 /dev/null) 80a81 > #define __STDC_VERSION__ 199901L 99a101 > #define __GNUC_STDC_INLINE__ 1 118d119 < #define __GNUC_GNU_INLINE__ 1 dan(a)dan-desktop:~/source/unleashed/ch11$ So these are the differences in what is predefined in C89 as opposed to C99? --
From: Seebs on 30 Jan 2010 16:06
On 2010-01-30, frank <frank(a)example.invalid> wrote: > So these are the differences in what is predefined in C89 as opposed to C99? For that particular compiler, yes. -s -- Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam(a)seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated! |