Re: [GDB] template bug
Re: [GDB] template bug
- Subject: Re: [GDB] template bug
- From: alex <email@hidden>
- Date: Thu, 9 Aug 2007 08:27:16 -0700
Title: Re: [GDB] template bug
Well, you also have the choice of installing a gdb that isn't
customized by Apple. You have the source code for your Linux
version of gdb. You can compile this on the Mac (although this
isn't very practical advice, it is one solution).
Another thing that might work in the meantime (which is a hack)
would be to declare a struct with the three floats in it and then try
casting the vector to this struct to see if that makes any difference
when trying to debug the values.
alex
At 5:15 PM +0200 8/9/07, Jens Frederich wrote:
Thats not a namespace problem. So we dont
using any std stuff (crap).
We using a own vector e.g. VGLVector3<VGLfloat> >
The vector has a other name.
We compiling our application on five unix operation sytems, but this
problem is under osx only.
APPLE should not customize the standard gdb, than this problem will
not be occurs.
Jens
On 8/9/07, Thomas Engelmeier <email@hidden> wrote:
On 09.08.2007, at 10:02, Jens Frederich wrote:
> I hope this is the right mailing list for my problem.
>
> I want print out the component of a template based vector 3 in
gdb.
> The vector is a c++ template with float or double as template
> parameters.
> The components in the vector are float x, y and z.
Just a shot in the dark: Xcode is chronically namespace agnostic.
I wouldn't be surprised if the problem stems from gdb using some
intrinsic for std::vector instead of your custom vector.
Regards,
Tom_E
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
>
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden