- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This short example triggers an ICE when compiled, due to the unfortunate presence of the extra parenthesis at the end of the second line (IVF 16.0.1.146).
SUBROUTINE S CALL F(__LINE__)) END
On an unrelated note, did the interpretation of __FILE__ by the preprocessor change with IVF 16? Now it returns the full file path, I seem to recall before it was only the file name itself. Or maybe I changed a parameter controlling this behavior (in Visual Studio, etc.) without noticing it?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is cute - escalated as issue DPD200380604.
The file path difference is not version or VS-specific. __FILE__ gives you whatever you put on the command line for the source file. In a VS project, the build system puts in the full path - that hasn't changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fixed for a future release.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page