Opened 15 years ago
Last modified 15 years ago
#3097 closed enhancement
warning: ‘cvsid_aw’ defined but not used — at Version 2
Reported by: | Mateusz Łoskot | Owned by: | warmerdam |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | ConfigBuild | Version: | svn-trunk |
Severity: | trivial | Keywords: | cvsid |
Cc: |
Description (last modified by )
Compilation of GDAL (SVN trunk) throws a lot of the following warnings:
warning: ‘cvsid_aw’ defined but not used
AFAIU, cvsid_aw is depracated and no longer used, so may be it would be a good idea to get rid of it.
Compiler: GCC 4.3.x and 4.4.x
Change History (2)
comment:1 by , 15 years ago
Component: | default → ConfigBuild |
---|---|
Keywords: | deprecated removed |
Status: | new → assigned |
comment:2 by , 15 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
I believe this method is still being used to embed SVN messages in the generated object code, dlls and executables despite the name being CVS oriented.
What compilter are you getting this warning with? The cvsid_aw function was introduced to avoid warnings about the string not being used (or perhaps to avoid it being optimized out), so perhaps we could find a more reliable way of embedding the string without helpful compilers complaining or interfering?
Any ideas?