Author |
Topic |
|
HBPayne
45 Posts |
Posted - 16 Apr 2004 : 11:58:29
|
Anyone have experience using the predefined macro __FUNCTION__? Other macros like __FILE__ and __LINE__ work ok but with __FUNCTION__ I get "undeclared identifier". Apparently it doesn't work on eVC4? |
|
jbaik
22 Posts |
Posted - 19 Apr 2004 : 14:26:42
|
I've checked Platform Builder, but it did not support __FUNCTION__ macro.
|
 |
|
akidder
1519 Posts |
Posted - 27 Apr 2004 : 18:00:32
|
On a related note, I often use the __DATE__ and __TIME__ compiler macros to time stamp application builds.
For example, you can generate this time stamp
App built Apr 13 2004 15:33:24
with this line of code:
RETAILMSG (TRUE, (L" App built %s %s\r\n",TEXT(__DATE__),TEXT(__TIME__)));
|
 |
|
Patrick
34 Posts |
Posted - 03 May 2004 : 10:53:29
|
Is it possible to get the __FUNCTION__ macro reenabled in the future? According to the help files it is supported in eVC.
|
 |
|
akidder
1519 Posts |
Posted - 03 May 2004 : 15:05:20
|
Our development team confirmed that the __FUNCTION__ macro is not included in our current Platform Builder releases.
If the feature is important for your application, we would be glad to support you in opening a support incident with Microsoft. Our experience has been that Microsoft will ask you about the "business impact" of the issue when you report it.
Sorry we can't be of more help than that! |
 |
|
|
Topic |
|