* boost 1.54 compile fail
@ 2013-07-10 8:21 Yi Qingliang
2013-07-11 1:54 ` Yi Qingliang
0 siblings, 1 reply; 4+ messages in thread
From: Yi Qingliang @ 2013-07-10 8:21 UTC (permalink / raw)
To: openembedded-core
Hello!
after update poky to latest git version, I got failure when compiling boost:
the main error is: (indeed, and too many warning!)
| ./boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared in
this scope
| typedef atomic<uintptr_t> atomic_uintptr_t;
| ^
| ./boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
| typedef atomic<uintptr_t> atomic_uintptr_t;
| ^
| ./boost/atomic/atomic.hpp:202:43: error: invalid type in declaration before
';' token
| typedef atomic<uintptr_t> atomic_uintptr_t;
| ^
| In file included from ./boost/system/system_error.hpp:14:0,
| from ./boost/thread/exceptions.hpp:22,
| from ./boost/thread/pthread/thread_data.hpp:10,
| from ./boost/thread/thread_only.hpp:17,
| from libs/thread/src/pthread/thread.cpp:11:
--
Nanjing Jilong
Yi Qingliang
niqingliang2003@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: boost 1.54 compile fail
2013-07-10 8:21 boost 1.54 compile fail Yi Qingliang
@ 2013-07-11 1:54 ` Yi Qingliang
2013-07-11 7:30 ` Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Yi Qingliang @ 2013-07-11 1:54 UTC (permalink / raw)
To: openembedded-core
maybe it is the gcc's fault (recently it is updated to 4.8.x in poky)
I can found uintptr_t in cstdint, but it is wrapped by a c99 related macro.
On Wednesday, July 10, 2013 04:21:02 PM Yi Qingliang wrote:
> Hello!
>
> after update poky to latest git version, I got failure when compiling boost:
>
> the main error is: (indeed, and too many warning!)
>
> | ./boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared in
>
> this scope
>
> | typedef atomic<uintptr_t> atomic_uintptr_t;
> |
> | ^
> |
> | ./boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
> |
> | typedef atomic<uintptr_t> atomic_uintptr_t;
> |
> | ^
> |
> | ./boost/atomic/atomic.hpp:202:43: error: invalid type in declaration
> | before
>
> ';' token
>
> | typedef atomic<uintptr_t> atomic_uintptr_t;
> |
> | ^
> |
> | In file included from ./boost/system/system_error.hpp:14:0,
> |
> | from ./boost/thread/exceptions.hpp:22,
> | from ./boost/thread/pthread/thread_data.hpp:10,
> | from ./boost/thread/thread_only.hpp:17,
> | from libs/thread/src/pthread/thread.cpp:11:
--
Nanjing Jilong
Yi Qingliang
niqingliang2003@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: boost 1.54 compile fail
2013-07-11 1:54 ` Yi Qingliang
@ 2013-07-11 7:30 ` Martin Jansa
2013-07-11 7:53 ` Yi Qingliang
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2013-07-11 7:30 UTC (permalink / raw)
To: Yi Qingliang; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1930 bytes --]
On Thu, Jul 11, 2013 at 09:54:28AM +0800, Yi Qingliang wrote:
> maybe it is the gcc's fault (recently it is updated to 4.8.x in poky)
>
> I can found uintptr_t in cstdint, but it is wrapped by a c99 related macro.
See
http://lists.openembedded.org/pipermail/openembedded-devel/2013-July/091331.html
https://lists.yoctoproject.org/pipermail/yocto/2013-July/017159.html
threads
>
>
> On Wednesday, July 10, 2013 04:21:02 PM Yi Qingliang wrote:
> > Hello!
> >
> > after update poky to latest git version, I got failure when compiling boost:
> >
> > the main error is: (indeed, and too many warning!)
> >
> > | ./boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared in
> >
> > this scope
> >
> > | typedef atomic<uintptr_t> atomic_uintptr_t;
> > |
> > | ^
> > |
> > | ./boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
> > |
> > | typedef atomic<uintptr_t> atomic_uintptr_t;
> > |
> > | ^
> > |
> > | ./boost/atomic/atomic.hpp:202:43: error: invalid type in declaration
> > | before
> >
> > ';' token
> >
> > | typedef atomic<uintptr_t> atomic_uintptr_t;
> > |
> > | ^
> > |
> > | In file included from ./boost/system/system_error.hpp:14:0,
> > |
> > | from ./boost/thread/exceptions.hpp:22,
> > | from ./boost/thread/pthread/thread_data.hpp:10,
> > | from ./boost/thread/thread_only.hpp:17,
> > | from libs/thread/src/pthread/thread.cpp:11:
> --
> Nanjing Jilong
> Yi Qingliang
> niqingliang2003@gmail.com
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: boost 1.54 compile fail
2013-07-11 7:30 ` Martin Jansa
@ 2013-07-11 7:53 ` Yi Qingliang
0 siblings, 0 replies; 4+ messages in thread
From: Yi Qingliang @ 2013-07-11 7:53 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core
On Thursday, July 11, 2013 09:30:30 AM Martin Jansa wrote:
> On Thu, Jul 11, 2013 at 09:54:28AM +0800, Yi Qingliang wrote:
> > maybe it is the gcc's fault (recently it is updated to 4.8.x in poky)
> >
> > I can found uintptr_t in cstdint, but it is wrapped by a c99 related
> > macro.
>
> See
> http://lists.openembedded.org/pipermail/openembedded-devel/2013-July/091331.
> html https://lists.yoctoproject.org/pipermail/yocto/2013-July/017159.html
> threads
thanks! I have checked that, but the answer is not obvious,
what is the reason? gcc ? eglibc ? or boost ?
>
> > On Wednesday, July 10, 2013 04:21:02 PM Yi Qingliang wrote:
> > > Hello!
> > >
> > > after update poky to latest git version, I got failure when compiling
> > > boost:
> > >
> > > the main error is: (indeed, and too many warning!)
> > >
> > > | ./boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared
> > > | in
> > >
> > > this scope
> > >
> > > | typedef atomic<uintptr_t> atomic_uintptr_t;
> > > |
> > > | ^
> > > |
> > > | ./boost/atomic/atomic.hpp:202:25: error: template argument 1 is
> > > | invalid
> > > |
> > > | typedef atomic<uintptr_t> atomic_uintptr_t;
> > > |
> > > | ^
> > > |
> > > | ./boost/atomic/atomic.hpp:202:43: error: invalid type in declaration
> > > | before
> > >
> > > ';' token
> > >
> > > | typedef atomic<uintptr_t> atomic_uintptr_t;
> > > |
> > > | ^
> > > |
> > > | In file included from ./boost/system/system_error.hpp:14:0,
> > > |
> > > | from ./boost/thread/exceptions.hpp:22,
> > > | from ./boost/thread/pthread/thread_data.hpp:10,
> > > | from ./boost/thread/thread_only.hpp:17,
> > > | from libs/thread/src/pthread/thread.cpp:11:
--
Nanjing Jilong
Yi Qingliang
niqingliang2003@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-11 7:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 8:21 boost 1.54 compile fail Yi Qingliang
2013-07-11 1:54 ` Yi Qingliang
2013-07-11 7:30 ` Martin Jansa
2013-07-11 7:53 ` Yi Qingliang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.