Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot with uClibc 0.9.29
Date: Sun, 20 Dec 2009 20:29:33 +0100	[thread overview]
Message-ID: <87bpht1m1u.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <6fff79820912181936s2c05be0ap78d0982832446477@mail.gmail.com> (Souvik Ghosh's message of "Sat, 19 Dec 2009 09:06:31 +0530")

>>>>> "Souvik" == Souvik Ghosh <mailtosouvik@gmail.com> writes:

 Souvik> Hello All,
 Souvik> I was compiling boost with arm toolchain. This toolchain includes gcc 4.1.1.
 Souvik> While building boost I got the following error -?

 Souvik> boost/boost/regex/v4/basic_regex.hpp:95:35: error: macro
 Souvik> "index" requires 2 arguments, but only 1 given
 Souvik> boost/boost/regex/v4/basic_regex.hpp:100:21: error: macro
 Souvik> "index" requires 2 arguments, but only 1 given

You'll have to dig further into the code to see what index() function it
is referring to. The (legacy) index() function in the C library indeed
takes 2 arguments:

char *index(const char *s, int c);

I expect the code above to refer to a local function called index. You
can probably fix it by renaming it to something else.

 Souvik> Can anybody please helop in this regard. Thanks in advance.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2009-12-20 19:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13 13:28 [Buildroot] Buildroot with uClibc 0.9.29 Souvik Ghosh
2009-10-13 14:07 ` Peter Korsgaard
2009-12-19  3:36 ` Souvik Ghosh
2009-12-20 19:29   ` Peter Korsgaard [this message]
2009-12-21  3:11     ` Souvik Ghosh
2010-03-29 16:58 ` Souvik Ghosh
2010-03-29 17:20   ` Souvik Ghosh
2010-03-29 17:57     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpht1m1u.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox