I faintly recall needing to remove some blanket "using boost" statements and adding explicit boost::namespaces on usage to avoid this type of problem.
If you get stuck feel free to reply with error messages. -Steve > -----Original Message----- > From: Andrew Stitcher [mailto:[email protected]] > Sent: Monday, September 19, 2011 5:29 PM > To: [email protected] > Subject: Re: QMF2, CMake, Windows and uint{32,64}_t > > On Mon, 2011-09-19 at 16:58 -0400, Darryl L. Pierce wrote: > > On Mon, Sep 19, 2011 at 04:39:14PM -0400, Andrew Stitcher wrote: > > > On Mon, 2011-09-19 at 16:23 -0400, Darryl L. Pierce wrote: > > > > I've enabled building QMF2 on Windows, but am stopped ATM due to > > > > the ambiguous usage of uint32_t and uint64_t. Developer Studio > > > > isn't used if the declarations want to use the boost:: or the > > > > Windows > types. > > > > > > IIRC the uint32_t and uint64_t types have to be specially defined > > > for windows because they are not in the system header files (at > > > least for Dev Studio 2008). Is it possible that somehow the QMF2 > > > build is picking them up from multiple places? > > > > The error I see is that the usage is "ambiguous" since, at compile > > time, DevStudio is seeing uint32_t in both the boost namespace (which > > is being used in the code) and also in qpid/sys/windows/IntegerTypes.h. > > Are the boost versions optional in some way, or perhaps dependent on > some boost include that we don't really need? I wouldn't expect any code > of > ours to be needing boost versions of uint32_t etc so it's a little > puzzling they > should be included. > > Andrew > > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
