Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
__FILE__ macro
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
118 subscribers
Views
3580 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
__FILE__ macro
Steven Logan
over 12 years ago
Note: This was originally posted on 8th May 2013 at
http://forums.arm.com
When using the __FILE__ macro in RVDS4, it only expands to "source/file.cpp". It won't ever expand to more than just the directory the file is in.
It seems everyone has problems shortening the path from __FILE__ rather than getting it to show more.
Is there anyway to resolve this?
Loggie
Parents
Scott Douglass
over 12 years ago
Note: This was originally posted on 9th May 2013 at
http://forums.arm.com
You may be having quoting problems. On a Linux host try -DFILE_NAME=\""..."\" on a Windows host try -DFILE_NAME=""""..."""" [I _wish_ I was kidding]
Cancel
Vote up
0
Vote down
Cancel
Reply
Scott Douglass
over 12 years ago
Note: This was originally posted on 9th May 2013 at
http://forums.arm.com
You may be having quoting problems. On a Linux host try -DFILE_NAME=\""..."\" on a Windows host try -DFILE_NAME=""""..."""" [I _wish_ I was kidding]
Cancel
Vote up
0
Vote down
Cancel
Children
No data