- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The enclosed sample code works differently when compiling for Debug and Release.
!dec$ define X first in the source code file is walid for the rest of the file when the setting is Release.
When compiling for Debug is X defined only in first routine in the file
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interesting. Out of curiosity, turn off all IPO (both compiler and linker) and see what happens.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isn't that interesting ... it's the -warn:interfaces switch.
You can work around this by expliciitly adding -DX on the command line.
I've reported this internally as DPD200245869.
--Lorri

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