daves Posted July 23, 2015 Share Posted July 23, 2015 Is it possible to get running code to report the version of the IDE used to build the project? Something like the following lines in the code: global IDEVersionA = IDE_VERSION_A; global IDEVersionB = IDE_VERSION_B; global IDEVersionC = IDE_VERSION_C; global IDEVersionD = IDE_VERSION_D; where IDE_VERSION_A,B,C,D are #defined by the installed IDE as say 2,3,0,40 Link to comment Share on other sites More sharing options...
steve.milici Posted July 23, 2015 Share Posted July 23, 2015 Enter this as a feature request in Bugzilla. This will insure the programmers schedule the addition. Link to comment Share on other sites More sharing options...
daves Posted July 24, 2015 Author Share Posted July 24, 2015 Thanks Steve. Done. I guess you're saying it is not currently possible. Bug 1362 entered in case anyone wants to track. Link to comment Share on other sites More sharing options...
steve.milici Posted July 24, 2015 Share Posted July 24, 2015 For now you could hard code this into pp_startup.txt: p1=2 p2=3 p3=0 p4=40 Link to comment Share on other sites More sharing options...
daves Posted July 24, 2015 Author Share Posted July 24, 2015 But that will not dynamically adjust to the actual IDE version. If I build the project with your suggestion in a 2.0.3.40 IDE then great, but when someone running 2.0.0.25 pulls the code from SVN and builds and downloads the project P1-4 will not report the IDE she used. Unless she changes the code, then we have a version control nightmare. I want RUNNING code to tell me what downloaded it. Like: __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__ Link to comment Share on other sites More sharing options...
AnthonyLH Posted August 29, 2016 Share Posted August 29, 2016 Dear all, Do someone know if a solution was found to get the IDE version in the running code? Thanks Link to comment Share on other sites More sharing options...
steve.milici Posted August 29, 2016 Share Posted August 29, 2016 The software group is working on this for the next release or patch. Link to comment Share on other sites More sharing options...
Recommended Posts