Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Strange GCC behavior
Date: Thu, 29 Sep 2011 17:51:54
Message-Id: CA+czFiBxUbiRV40gu-HqnO6aPzK=bzjEStzCH5xmfRq6V6KV4g@mail.gmail.com
In Reply to: Re: [gentoo-user] Strange GCC behavior by Todd Goodman
1 On Thu, Sep 29, 2011 at 1:43 PM, Todd Goodman <tsg@×××××××××.net> wrote:
2 > * Nilesh Govindarajan <contact@××××××××.com> [110929 13:33]:
3 >> Default function arguments in C are specified like this:
4 >>
5 >> int func(int a = 10) {} // just a dummy function
6 >
7 > No they're not.  C doesn't have default function arguments.
8
9 That's another problem. (I don't know if gcc extends C to that end, though)
10
11 This may be useful once he gets there:
12
13 https://gustedt.wordpress.com/2010/06/03/default-arguments-for-c99/
14
15 --
16 :wq