This is the mail archive of the
mailing list for the GCC project.
Re: order of includes?
It turned out to be that I needed to change
On 07 Jan 2006 21:55:48 -0800, Ian Lance Taylor <email@example.com> wrote:
> Brian Budge <firstname.lastname@example.org> writes:
> > I am getting the following error:
> > error: expected `,' or `...' before numeric constant
> > The code is trivial, and has been successfully used before. It is
> > from a template library I wrote.
> > From searching google, I get the impression that it could be from
> > #including things in the "wrong" order. Could this be the case?
> It's very unlikely.
> > Anybody have any tips or tricks for narrowing down the problem here?
> Look closely at the source code. If that doesn't help, run the
> compile with --save-temps, and look at the relevant line in the .i (if
> C) or .ii (if C++) file.
> (Please don't reply to me personally; thanks.)