View Single Post
  #15  
Old 01-06-2005, 16:25
ArC ArC is offline
VIP
 
Join Date: Jan 2003
Location: NTOSKRNL.EXE
Posts: 172
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 5
Thanks Rcvd at 17 Times in 12 Posts
ArC Reputation: 1
Quote:
There are some compiler bugs not fixed in VS.2003
Hm i recently noticed sth strange. The compiler seems to have problems with calculations with return values from functions within function arguments. E.g.
Code:
int SomeFunc( void )
{
int nSomeVal;
....
return nSomeVal;
}

void AnotherFunc( int nVal )
{
// do sth with nVal
}

void main(void)
{
AnotherFunc( SomeFunc() + 0x100 );
}
The call in main is not translated correctly so the value given to AnotherFunc is wrong...
Quote:
use Intel CPP compiler instead
Hm well yes but you still need a linker and an IDE is quite useful, too.
So the best is to use MSVC++ 7.1 (2003) + Intel C++ Compiler 8.1 (as it can be integrated into MSVC++).
Just noticed that executables created by Intel C++ Compiler are generally bigger than those ones created with cl (M$' compiler).
But therefore it provides more otimization features (e.g. Parallelization, PGO, ...) as well as support for latest technology such as SSE3 aso...
Anyways I can remember that M$ announced support for PGO in MSVS 2005.