Hi

----- Mail original -----
> De: "Gerrit Voß" <vo...@vossg.org>
> À: opensg-users@lists.sourceforge.net
> Envoyé: Mardi 4 Décembre 2012 12:13:05
> Objet: Re: [Opensg-users] [OpenSG 2.0]
> 
> 
> Hi,
> 
> On Tue, 2012-12-04 at 18:48 +0800, Gerrit Voß wrote:
> > Hi,
> > 
> > On Tue, 2012-12-04 at 10:56 +0100, Hannah Carbonnier wrote:
> > > Hi all,
> > > 
> > > I work on a project that depends on OpenSG 2.0 and uses cmake.
> > > To enable ‘PRIx64’ macro, we have added this line in our
> > > CMakeList.txt
> > > file :
> > >  add_definitions(-D__STDC_FORMAT_MACROS)
> > > 
> > > Everything worked until we updated from Fedora 15 to Fedora 17
> > > and (I
> > > think that is the problem but I'm not sure) from gcc 4.6.3 to gcc
> > > 4.7.2. With these new versions, we get the error : unable to find
> > > string literal operator ‘operator"" PRIx64’
> > > 
> > > Does somebody already had this problem and found a solution?
> > 
> > short question, are you compiling with -std=c++11 active. That
> > seems to
> > trigger a similar problem for me.
I compile with -std=c++0x active, I don't know the difference :s. But the error 
is still the same with -std=c++11.
> 
> if yes, you have to have a space between the " and PRIx64, e.g.
> written
> as "PRIx64" it will resolve to ""x"" and this fails because "" is now
> an
> operator. Written as " PRIx64 still seems to resolve correctly.
> 
I replaced all "PRIx64 by " PRIx64 (and all PRIx64" by PRIx64 ") and the error 
is now : expected ‘)’ before ‘PRIx64’. 

> I'll have to check OpenSG against that.
Ok, thanks

Best regards,
Hannah


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to