Welcome to MSDN Blogs Sign in | Join | Help

__FILE__ macro under VC++ 6.0, 7.x and 8.0

Under VC++ 6.0, the __FILE__ macro always gets the full file path returned; under VC++ 7.x it typically does not.
To get the VC++ 6.0 behaviour under VC++ 7.x and 8.0, use the /FC (Full Path of Source Code File in Diagnostics) compiler command line option. (link valid as of 11/8/04).

 

(Thanks to Jason Shirk from the VC++ team)

 

Published Wednesday, November 10, 2004 11:03 AM by yvesdolc

Comments

Anonymous comments are disabled
 
Page view tracker