[Github-comments] [geany/geany] RFC: Include Scintilla version in debug info (Discussion #3108)

Thomas Martitz notifications at xxxxx
Fri Jan 21 23:06:23 UTC 2022


I guess I would prefer if we'd just someting like

```
static unsigned int ver[2] = {
#include "scintilla/version.txt"
    ,
#include "scintilla/lexilla/version.txt"
}

…
sprintf(buf, "Scintilla version %d.%d.%d", ver[0]/100, (ver[0]/10)%10, ver[0]%10))
sprintf(buf, "Lexilla version %d.%d.%d", ver[1]/100, (ver[1]/10)%10, ver[1]%10))
```

or define some preprocessor symbol via Makefile (-DSCI_VER=$(file < scintilla/version.txt) but in a portable fashion)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/3108#discussioncomment-2019549
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/repo-discussions/3108/comments/2019549 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220121/bd0c7fd7/attachment.htm>


More information about the Github-comments mailing list