We have installed the SVN PlugIn. In out project, we use a Library, which is also connected to SVN.
Actual we try to create a library function, which reads the SVN-revisions of the project and of the Library itself, and writes them to outputs. Normally we would read the VERSION in the SVN_VERSION_INFO constants.
If we read the SVN_VERSION_INFO.VERSION constant in the library, we are able to compile the library. But if we try use the library code in out project the error: <<c0046: not="" 'svn_version_info'="" defined="" identifier="">> occurs.
If we read the SVN_VERSION_INFO.VERSION constant in the project, everything works and we get the SVN-revision of the project. (But we also need the revision of the library and it would be great if both is done by a library function)</c0046:>
If we use the SVN_Info_Summary.sVersionSummary constant instead of the SVN_VERSION_INFO.VERSION constant in the library, we are able to compile the library. But if we use the code in our project the error: <<c0136: ambiguous="" use="" 'svn_info_summary'="" name="" of="">> occurs.
If we read the SVN_Info_Summary.sVersionSummary constant in the project, the same error occurs.</c0136:>
What is the best way, to get the SVN-revision of the project and the SVN-revision of the library itselt, inside a library function?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone
We have installed the SVN PlugIn. In out project, we use a Library, which is also connected to SVN.
Actual we try to create a library function, which reads the SVN-revisions of the project and of the Library itself, and writes them to outputs. Normally we would read the VERSION in the SVN_VERSION_INFO constants.
If we read the SVN_VERSION_INFO.VERSION constant in the library, we are able to compile the library. But if we try use the library code in out project the error: <<c0046: not="" 'svn_version_info'="" defined="" identifier="">> occurs.
If we read the SVN_VERSION_INFO.VERSION constant in the project, everything works and we get the SVN-revision of the project. (But we also need the revision of the library and it would be great if both is done by a library function)</c0046:>
If we use the SVN_Info_Summary.sVersionSummary constant instead of the SVN_VERSION_INFO.VERSION constant in the library, we are able to compile the library. But if we use the code in our project the error: <<c0136: ambiguous="" use="" 'svn_info_summary'="" name="" of="">> occurs.
If we read the SVN_Info_Summary.sVersionSummary constant in the project, the same error occurs.</c0136:>
What is the best way, to get the SVN-revision of the project and the SVN-revision of the library itselt, inside a library function?
Thanks