From: David C. <unc...@un...> - 2005-05-15 18:19:20
|
I'm getting a bunch of errors like this when compiling ui_core_implementation.cpp: ../../../adobe/future/memory.hpp:295: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<Y, typename Traits::rebind<Y>::other>' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<__CFNumberFormatter*, adobe::ptr_traits<__CFNumberFormatter*> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ headers/mac/ui_core_implementation.hpp:323: instantiated from here Compiling with gcc 4 (in XCode 2.0) went much better than I expected, after what I went through on other projects. The main thing is the repeated boost warnings that gcc 4 is an "unknown compiler version". Is there a boost update to fix this? -- David Catmull unc...@un... http://www.uncommonplace.com/ |
From: Sean P. <sp...@ad...> - 2005-05-16 17:53:07
|
On May 15, 2005, at 11:19 AM, David Catmull wrote: > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<Y, typename Traits::rebind<Y>::other>' > I checked in a potential fix by removing this declaration (and the associated definition) - (Foster will have to roll the out to CVS). I'm not sure why these declarations would conflict - but this declaration seems to be unnecessary (the conversion can be handled by the constructor and assignment operator, I would think...). Removing it required no other changes in our code so I took it out. Sean |
From: Foster T. B. <fbr...@ad...> - 2005-05-16 19:29:21
|
The change is rolled out to CVS. On May 16, 2005, at 10:52a, Sean Parent wrote: > > On May 15, 2005, at 11:19 AM, David Catmull wrote: > >> ../../../adobe/future/memory.hpp:289: error: conflicts with previous >> declaration 'adobe::auto_resource<X, Traits>::operator >> adobe::auto_resource<Y, typename Traits::rebind<Y>::other>' >> > > I checked in a potential fix by removing this declaration (and the > associated definition) - (Foster will have to roll the out to CVS). > I'm not sure why these declarations would conflict - but this > declaration seems to be unnecessary (the conversion can be handled by > the constructor and assignment operator, I would think...). Removing > it required no other changes in our code so I took it out. > > Sean > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > > -- Foster T. Brereton <}}}>< Romans 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "What 99 percent of programmers need to know is not how to build components but how to use them." -- Alexander Stepanov |
From: David C. <unc...@un...> - 2005-05-16 19:45:39
|
There are still quite a few errors left. I assumed that they were related enough that one or two changes will fix them all, but I may be wrong. It does compile without errors with gcc 3.3 though, so if there are no further problems with getting Begin to build (I haven't tried the app target yet) I'll check in the changes to the project. ../../../adobe/future/memory.hpp:292: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>()' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<__CFNumberFormatter*, adobe::ptr_traits<__CFNumberFormatter*> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ headers/mac/ui_core_implementation.hpp:323: instantiated from here ../../../adobe/future/memory.hpp:263: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = __CFNumberFormatter*, Traits = adobe::ptr_traits<__CFNumberFormatter*>]' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>() [with Y = Y, X = __CFNumberFormatter*, Traits = adobe::ptr_traits<__CFNumberFormatter*>]' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<const __CFString*, adobe::ptr_traits<const __CFString*> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ sources/mac/ui_core_implementation.cpp:123: instantiated from here ../../../adobe/future/memory.hpp:263: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = const __CFString*, Traits = adobe::ptr_traits<const __CFString*>]' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>() [with Y = Y, X = const __CFString*, Traits = adobe::ptr_traits<const __CFString*>]' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<OpaqueGrafPtr*, adobe::ptr_traits<OpaqueGrafPtr*> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ sources/mac/ui_core_implementation.cpp:391: instantiated from here ../../../adobe/future/memory.hpp:263: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = OpaqueGrafPtr*, Traits = adobe::ptr_traits<OpaqueGrafPtr*>]' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>() [with Y = Y, X = OpaqueGrafPtr*, Traits = adobe::ptr_traits<OpaqueGrafPtr*>]' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<OpaqueRgnHandle*, adobe::ptr_traits<OpaqueRgnHandle*> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ sources/mac/ui_core_implementation.cpp:1154: instantiated from here ../../../adobe/future/memory.hpp:263: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = OpaqueRgnHandle*, Traits = adobe::ptr_traits<OpaqueRgnHandle*>]' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>() [with Y = Y, X = OpaqueRgnHandle*, Traits = adobe::ptr_traits<OpaqueRgnHandle*>]' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<char**, adobe::ptr_traits<char**> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ sources/mac/ui_core_implementation.cpp:1446: instantiated from here ../../../adobe/future/memory.hpp:263: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = char**, Traits = adobe::ptr_traits<char**>]' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>() [with Y = Y, X = char**, Traits = adobe::ptr_traits<char**>]' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<const __CFLocale*, adobe::ptr_traits<const __CFLocale*> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ sources/mac/ui_core_implementation.cpp:2226: instantiated from here ../../../adobe/future/memory.hpp:263: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = const __CFLocale*, Traits = adobe::ptr_traits<const __CFLocale*>]' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>() [with Y = Y, X = const __CFLocale*, Traits = adobe::ptr_traits<const __CFLocale*>]' ../../../adobe/future/memory.hpp: In instantiation of `adobe::auto_resource<__CFDictionary*, adobe::ptr_traits<__CFDictionary*> >': /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ sources/mac/ui_core_implementation.cpp:3709: instantiated from here ../../../adobe/future/memory.hpp:263: error: declaration of 'adobe::auto_resource<X, Traits>::operator void (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = __CFDictionary*, Traits = adobe::ptr_traits<__CFDictionary*>]' ../../../adobe/future/memory.hpp:289: error: conflicts with previous declaration 'adobe::auto_resource<X, Traits>::operator adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename Traits::rebind<Y>::other>() [with Y = Y, X = __CFDictionary*, Traits = adobe::ptr_traits<__CFDictionary*>]' -- David Catmull unc...@un... http://www.uncommonplace.com/ |
From: Sean P. <sp...@ad...> - 2005-05-16 21:39:30
|
This one isn't quite so easy to fix... I've been meaning to roll in the suggestions from here: http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#463 Into my implementation of auto_ptr. I'll work on that today and try to get a new implementation out ASAP. Sean On May 16, 2005, at 12:44 PM, David Catmull wrote: > ../../../adobe/future/memory.hpp:292: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>()' |
From: Sean P. <sp...@ad...> - 2005-05-17 04:38:40
|
Checked in a fairly significant set of mods - it _will_ fix all of these problems (because at least one of each of the conflicting routines here is gone!) - I'm hoping it fixes everything. Foster should roll to CVS soon. Sean On May 16, 2005, at 12:44 PM, David Catmull wrote: > There are still quite a few errors left. I assumed that they were > related enough that one or two changes will fix them all, but I may be > wrong. It does compile without errors with gcc 3.3 though, so if there > are no further problems with getting Begin to build (I haven't tried > the app target yet) I'll check in the changes to the project. > > > ../../../adobe/future/memory.hpp:292: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>()' > ../../../adobe/future/memory.hpp: In instantiation of > `adobe::auto_resource<__CFNumberFormatter*, > adobe::ptr_traits<__CFNumberFormatter*> >': > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > headers/mac/ui_core_implementation.hpp:323: instantiated from here > ../../../adobe/future/memory.hpp:263: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = > __CFNumberFormatter*, Traits = > adobe::ptr_traits<__CFNumberFormatter*>]' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>() [with Y = Y, X = __CFNumberFormatter*, > Traits = adobe::ptr_traits<__CFNumberFormatter*>]' > ../../../adobe/future/memory.hpp: In instantiation of > `adobe::auto_resource<const __CFString*, adobe::ptr_traits<const > __CFString*> >': > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > sources/mac/ui_core_implementation.cpp:123: instantiated from here > ../../../adobe/future/memory.hpp:263: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = const > __CFString*, Traits = adobe::ptr_traits<const __CFString*>]' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>() [with Y = Y, X = const __CFString*, Traits > = adobe::ptr_traits<const __CFString*>]' > ../../../adobe/future/memory.hpp: In instantiation of > `adobe::auto_resource<OpaqueGrafPtr*, > adobe::ptr_traits<OpaqueGrafPtr*> >': > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > sources/mac/ui_core_implementation.cpp:391: instantiated from here > ../../../adobe/future/memory.hpp:263: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = > OpaqueGrafPtr*, Traits = adobe::ptr_traits<OpaqueGrafPtr*>]' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>() [with Y = Y, X = OpaqueGrafPtr*, Traits = > adobe::ptr_traits<OpaqueGrafPtr*>]' > ../../../adobe/future/memory.hpp: In instantiation of > `adobe::auto_resource<OpaqueRgnHandle*, > adobe::ptr_traits<OpaqueRgnHandle*> >': > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > sources/mac/ui_core_implementation.cpp:1154: instantiated from here > ../../../adobe/future/memory.hpp:263: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = > OpaqueRgnHandle*, Traits = adobe::ptr_traits<OpaqueRgnHandle*>]' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>() [with Y = Y, X = OpaqueRgnHandle*, Traits > = adobe::ptr_traits<OpaqueRgnHandle*>]' > ../../../adobe/future/memory.hpp: In instantiation of > `adobe::auto_resource<char**, adobe::ptr_traits<char**> >': > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > sources/mac/ui_core_implementation.cpp:1446: instantiated from here > ../../../adobe/future/memory.hpp:263: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = > char**, Traits = adobe::ptr_traits<char**>]' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>() [with Y = Y, X = char**, Traits = > adobe::ptr_traits<char**>]' > ../../../adobe/future/memory.hpp: In instantiation of > `adobe::auto_resource<const __CFLocale*, adobe::ptr_traits<const > __CFLocale*> >': > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > sources/mac/ui_core_implementation.cpp:2226: instantiated from here > ../../../adobe/future/memory.hpp:263: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = const > __CFLocale*, Traits = adobe::ptr_traits<const __CFLocale*>]' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>() [with Y = Y, X = const __CFLocale*, Traits > = adobe::ptr_traits<const __CFLocale*>]' > ../../../adobe/future/memory.hpp: In instantiation of > `adobe::auto_resource<__CFDictionary*, > adobe::ptr_traits<__CFDictionary*> >': > /Users/uncommon/Developer/ASL/sandbox/adobe-source/adobe/test/visual/ > sources/mac/ui_core_implementation.cpp:3709: instantiated from here > ../../../adobe/future/memory.hpp:263: error: declaration of > 'adobe::auto_resource<X, Traits>::operator void > (adobe::auto_resource<X, Traits>::dummy::*)()() const [with X = > __CFDictionary*, Traits = adobe::ptr_traits<__CFDictionary*>]' > ../../../adobe/future/memory.hpp:289: error: conflicts with previous > declaration 'adobe::auto_resource<X, Traits>::operator > adobe::auto_resource<X, Traits>::auto_resource_ref<Y, typename > Traits::rebind<Y>::other>() [with Y = Y, X = __CFDictionary*, Traits = > adobe::ptr_traits<__CFDictionary*>]' > > -- > David Catmull > unc...@un... > http://www.uncommonplace.com/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel |