The Scope and Ownership of fedora-list

Fennix cn.stefan at gmail.com
Thu Aug 28 17:06:18 UTC 2008


On Fri, Aug 29, 2008 at 12:09 AM, Mike Chambers <mike at miketc.net> wrote:

> On Thu, 2008-08-28 at 10:32 -0500, Mike McCarty wrote:
>
> > It's (traditional) C. Put it into a file like self-rep.c and then
> >
> > $ gcc -o self-rep self-rep.c
> > $ ./self-rep
> >
> > and see what happens.
>
> [mike at scrappy ~]$ gcc -o test test.c
> test.c:1: warning: data definition has no type or storage class
> test.c:1: warning: initialization makes integer from pointer without a
> cast
> test.c: In function 'main':
> test.c:1: warning: incompatible implicit declaration of built-in
> function 'printf'
> test.c:1: warning: passing argument 1 of 'printf' makes pointer from
> integer without a cast
> [mike at scrappy ~]$ ./test
> p="p=%c%s%
> c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}[mike at scrappy
> ~]$
>
> That's what happened when doing it on a F9 box.
>
> --
> Mike Chambers
> Fedora Project - Ambassador, Bug Zapper, Tester, User, etc..
> mikec302 at fedoraproject.org
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

Hmmm... c++  vs  standard C?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080829/d18f1d90/attachment-0001.htm>


More information about the fedora-list mailing list