[tremor] Initial Embedded Visual Studio attempt.
Firelight Technologies
support at fmod.org
Fri Sep 27 18:50:43 PDT 2002
>
> Erm, I don't fully understand... Wouldn't it be much easier to just
> compile everything with the calling conventions you need, instead
> of just two functions?
Evc doesn't let you change the default calling convention; otherwise
obviously I would have done it.
> > Oh and I'm getting a lot of type size mismatch warnings due to
longs..
> > why are these used instead of int?
>
> An int is any convenient size; a long is required to be at least 32
bits.
> We need 32 bits for a lot of stuff, so a lot of longs are used.
Well 'at least 32' is emulated 64 in this case = bad.
> > I fear them especially when I come to port this onto the ps2 because
> > longs are all emulated 64bit ints (function calls) and bring
projects to
> > their knees because they are so slow.
>
> I consider that a bug in evc, then.
Sorry I switch to PS2 mode here as a tangent, it doesn't use evc it uses
GCC - your favourite :)
> There is no reason for a compiler
> to use a size > 32 bits for long ints if a 32 bit type would be (at
least
> as) fast.
Since when is long being 64bit int a bug? There is no reason at all for
long to be 32 bit. I think it is QUITE reasonable for long to be 64bit,
as it is supposed to be longer than an int.
I agree with marc that if you absolutely have to have 32, then use a
defined type. (I would just use int in my case as I have never
encountered a machine in my years that used 16bit ints, maybe you have)
I would hope this point isn't argued too much, I seem to always find
resistance when talking about this long issue (I raised it on vorbs-dev
a while ago but was ignored also), The alternative is I am going to have
to spend a while renaming all longs to int every time I get a version.
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'tremor-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Tremor
mailing list