Mail Archives: geda-help/2016/03/01/09:46:06
--Apple-Mail=_5EDB7172-06D6-4143-80C8-AB08A9FE075A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
Indeed, they eliminated those errors (THANK you for the quick =
response!), but I now see other errors (when compiling code in =
xorn/src/storage)
Relevant output below.
All the best,
James
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wall =
-W -g -O2 -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cc =
-fno-common -DPIC -o .libs/object.o
In file included from object.cc:20:
./key_iterator.h:47:12: error: no member named 'operator!=3D' in =
'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type=
<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *,
obstate *>, void *> *, long> >'
return i.operator!=3D(x.i);
~ ^
=
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc=
hain/usr/bin/../include/c++/v1/algorithm:5341:21: note: in instantiation =
of member function
=
'key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1:=
:__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, =
void *> *, long> >
>::operator!=3D' requested here
while (__first1 !=3D __last1 && __first2 !=3D __last2)
^
=
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc=
hain/usr/bin/../include/c++/v1/algorithm:5371:12: note: in instantiation =
of function template specialization
'std::__1::__set_intersection<std::__1::__less<xorn_object *const, =
xorn_object *> &, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::=
__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
std::__1::__tree_const_iterator<xorn_object *, =
std::__1::__tree_node<xorn_object *, void *> *, long>, xorn_object **>'
requested here
return __set_intersection<_Comp_ref>(__first1, __last1, __first2, =
__last2, __result, __comp);
^
=
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc=
hain/usr/bin/../include/c++/v1/algorithm:5381:19: note: in instantiation =
of function template specialization
=
'std::__1::set_intersection<key_iterator<std::__1::__map_iterator<std::__1=
::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, =
void
*> *, long> > >, std::__1::__tree_const_iterator<xorn_object *, =
std::__1::__tree_node<xorn_object *, void *> *, long>, xorn_object **, =
std::__1::__less<xorn_object *const, xorn_object *> >' requested here
return _VSTD::set_intersection(__first1, __last1, __first2, __last2, =
__result,
^
object.cc:226:23: note: in instantiation of function template =
specialization =
'std::__1::set_intersection<key_iterator<std::__1::__map_iterator<std::__1=
::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
std::__1::__tree_const_iterator<xorn_object *, =
std::__1::__tree_node<xorn_object *, void *> *, long>, xorn_object **>'
requested here
xorn_object_t *ptr =3D set_intersection(
^
In file included from object.cc:20:
./key_iterator.h:44:12: error: no member named 'operator=3D=3D' in =
'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type=
<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *,
obstate *>, void *> *, long> >'
return i.operator=3D=3D(x.i);
~ ^
=
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc=
hain/usr/bin/../include/c++/v1/algorithm:5395:22: note: in instantiation =
of member function
=
'key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1:=
:__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, =
void *> *, long> >
>::operator=3D=3D' requested here
if (__first2 =3D=3D __last2)
^
=
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc=
hain/usr/bin/../include/c++/v1/algorithm:5425:12: note: in instantiation =
of function template specialization
'std::__1::__set_difference<std::__1::__less<xorn_object *const, =
xorn_object *const> &, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::=
__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::=
__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, xorn_object **>' requested here
return __set_difference<_Comp_ref>(__first1, __last1, __first2, =
__last2, __result, __comp);
^
=
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc=
hain/usr/bin/../include/c++/v1/algorithm:5435:19: note: in instantiation =
of function template specialization
=
'std::__1::set_difference<key_iterator<std::__1::__map_iterator<std::__1::=
__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, =
void *>
*, long> > >, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::=
__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, =
void *> *, long> >
>, xorn_object **, std::__1::__less<xorn_object *const, =
xorn_object *const> >' requested here
return _VSTD::set_difference(__first1, __last1, __first2, __last2, =
__result,
^
object.cc:256:23: note: in instantiation of function template =
specialization =
'std::__1::set_difference<key_iterator<std::__1::__map_iterator<std::__1::=
__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::=
__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, xorn_object **>' requested here
xorn_object_t *ptr =3D set_difference(
^
2 errors generated.
make[4]: *** [object.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
On Mar 1, 2016, at 12:38 AM, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via =
geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
> James,
>=20
> On 3/1/16, James Battat (jbattat AT wellesley DOT edu) [via
> geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
>> Thanks for the reply.
>>=20
>> So I then tried the git version, but the compilation fails (error =
below).
>> Any suggestions?
>> (again, this is Mac OS X 10.9).
>>=20
>=20
> I've commited the fix which should eliminate those errors.
> Please 'git pull' and try out to compile it again.
>=20
> Thank you for your report,
> Vladimir
--Apple-Mail=_5EDB7172-06D6-4143-80C8-AB08A9FE075A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;">Indeed, they eliminated those errors (THANK you for =
the quick response!), but I now see other errors (when compiling code in =
xorn/src/storage)<div><br></div><div>Relevant output =
below.</div><div><br></div><div>All the =
best,</div><div>James</div><div><br></div><div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">libtool: compile: g++ =
-DHAVE_CONFIG_H -I. -I../.. -I../../include -Wall -W -g -O2 -MT =
object.lo -MD -MP -MF .deps/object.Tpo -c <a =
href=3D"http://object.cc">object.cc</a> -fno-common -DPIC -o =
.libs/object.o</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">In file included from <a =
href=3D"http://object.cc">object.cc</a>:20:</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;"><b>./key_iterator.h:47:12: =
</b><span style=3D"color: #c33720"><b>error: </b></span><b>no member =
named 'operator!=3D' in =
'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__valu=
e_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object =
*,</b></div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"><b> obstate *>, void *> *, long> =
>'</b></div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"> return =
i.operator!=3D(x.i);</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo; color: rgb(52, 189, 38);"><b> =
~ =
^</b></div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"><b>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefa=
ult.xctoolchain/usr/bin/../include/c++/v1/algorithm:5341:21: note: =
</b>in instantiation of member function</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;"> =
'key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<=
std::__1::__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> ></div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;"> =
>::operator!=3D' requested here</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;"> while (__first1 !=3D =
__last1 && __first2 !=3D __last2)</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, =
38);"><b> =
^</b></div><div style=3D"margin: 0px; font-size: 11px; =
font-family: =
Menlo;"><b>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefa=
ult.xctoolchain/usr/bin/../include/c++/v1/algorithm:5371:12: note: =
</b>in instantiation of function template specialization</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
'std::__1::__set_intersection<std::__1::__less<xorn_object *const, =
xorn_object *> &, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<s=
td::__1::__value_type<xorn_object *, obstate *>,</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
std::__1::__tree_const_iterator<xorn_object *, =
std::__1::__tree_node<xorn_object *, void *> *, long>, =
xorn_object **>'</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;"> requested here</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
return __set_intersection<_Comp_ref>(__first1, __last1, =
__first2, __last2, __result, __comp);</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo; color: rgb(52, 189, =
38);"><b> ^</b></div><div =
style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"><b>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefa=
ult.xctoolchain/usr/bin/../include/c++/v1/algorithm:5381:19: note: =
</b>in instantiation of function template specialization</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
'std::__1::set_intersection<key_iterator<std::__1::__map_iterator<=
;std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, =
obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;"> *> *, long> > >, =
std::__1::__tree_const_iterator<xorn_object *, =
std::__1::__tree_node<xorn_object *, void *> *, long>, =
xorn_object **, std::__1::__less<xorn_object *const, xorn_object =
*> >' requested here</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo;"> return =
_VSTD::set_intersection(__first1, __last1, __first2, __last2, =
__result,</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo; color: rgb(52, 189, 38);"><b> =
^</b></div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;"><b><a =
href=3D"http://object.cc">object.cc</a>:226:23: note: </b>in =
instantiation of function template specialization =
'std::__1::set_intersection<key_iterator<std::__1::__map_iterator<=
;std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, =
obstate *>,</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;"> =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
std::__1::__tree_const_iterator<xorn_object *, =
std::__1::__tree_node<xorn_object *, void *> *, long>, =
xorn_object **>'</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;"> requested here</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
xorn_object_t *ptr =3D set_intersection(</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo; color: =
rgb(52, 189, 38);"><b> =
^</b></div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;">In file =
included from <a href=3D"http://object.cc">object.cc</a>:20:</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"><b>./key_iterator.h:44:12: </b><span style=3D"color: =
#c33720"><b>error: </b></span><b>no member named 'operator=3D=3D' in =
'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__valu=
e_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object =
*,</b></div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"><b> obstate *>, void *> *, long> =
>'</b></div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"> return =
i.operator=3D=3D(x.i);</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo; color: rgb(52, 189, 38);"><b> =
~ =
^</b></div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"><b>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefa=
ult.xctoolchain/usr/bin/../include/c++/v1/algorithm:5395:22: note: =
</b>in instantiation of member function</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;"> =
'key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<=
std::__1::__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> ></div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;"> =
>::operator=3D=3D' requested here</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;"> if =
(__first2 =3D=3D __last2)</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo; color: rgb(52, 189, 38);"><b> =
=
^</b></div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;"><b>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefa=
ult.xctoolchain/usr/bin/../include/c++/v1/algorithm:5425:12: note: =
</b>in instantiation of function template specialization</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
'std::__1::__set_difference<std::__1::__less<xorn_object *const, =
xorn_object *const> &, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<s=
td::__1::__value_type<xorn_object *, obstate *>,</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<s=
td::__1::__value_type<xorn_object *, obstate *>,</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, xorn_object **>' =
requested here</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;"> return =
__set_difference<_Comp_ref>(__first1, __last1, __first2, __last2, =
__result, __comp);</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo; color: rgb(52, 189, 38);"><b> =
^</b></div><div style=3D"margin: 0px; font-size: =
11px; font-family: =
Menlo;"><b>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefa=
ult.xctoolchain/usr/bin/../include/c++/v1/algorithm:5435:19: note: =
</b>in instantiation of function template specialization</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
'std::__1::set_difference<key_iterator<std::__1::__map_iterator<s=
td::__1::__tree_iterator<std::__1::__value_type<xorn_object *, =
obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *></div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo;"> *, long> > >, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<s=
td::__1::__value_type<xorn_object *, obstate *>, =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> ></div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;"> >, =
xorn_object **, std::__1::__less<xorn_object *const, xorn_object =
*const> >' requested here</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;"> return =
_VSTD::set_difference(__first1, __last1, __first2, __last2, =
__result,</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo; color: rgb(52, 189, 38);"><b> =
^</b></div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;"><b><a =
href=3D"http://object.cc">object.cc</a>:256:23: note: </b>in =
instantiation of function template specialization =
'std::__1::set_difference<key_iterator<std::__1::__map_iterator<s=
td::__1::__tree_iterator<std::__1::__value_type<xorn_object *, =
obstate *>,</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;"> =
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, =
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<s=
td::__1::__value_type<xorn_object *, obstate *>,</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"> =
=
std::__1::__tree_node<std::__1::__value_type<xorn_object *, =
obstate *>, void *> *, long> > >, xorn_object **>' =
requested here</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;"> xorn_object_t *ptr =3D =
set_difference(</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo; color: rgb(52, 189, 38);"><b> =
=
^</b></div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;">2 errors generated.</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;">make[4]: *** [object.lo] Error =
1</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">make[3]: *** [all-recursive] Error 1</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">make[2]: *** [all] Error =
2</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;">make[1]: *** [all-recursive] Error 1</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;">make: *** [all] Error =
2</div><div><br></div><div><div><br><div><div>On Mar 1, 2016, at 12:38 =
AM, Vladimir Zhbanov (<a =
href=3D"mailto:vzhbanov AT gmail DOT com">vzhbanov AT gmail DOT com</a>) [via <a =
href=3D"mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>] <<a =
href=3D"mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>> =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite">James,<br><br>On 3/1/16, James Battat (<a =
href=3D"mailto:jbattat AT wellesley DOT edu">jbattat AT wellesley DOT edu</a>) =
[via<br><a =
href=3D"mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>] <<a =
href=3D"mailto:geda-help AT delorie DOT com">geda-help AT delorie DOT com</a>> =
wrote:<br><blockquote type=3D"cite">Thanks for the reply.<br><br>So I =
then tried the git version, but the compilation fails (error =
below).<br>Any suggestions?<br>(again, this is Mac OS X =
10.9).<br><br></blockquote><br>I've commited the fix which should =
eliminate those errors.<br>Please 'git pull' and try out to compile it =
again.<br><br>Thank you for your report,<br> =
Vladimir<br></blockquote></div><br></div></div></div></body></html>=
--Apple-Mail=_5EDB7172-06D6-4143-80C8-AB08A9FE075A--
- Raw text -