The TCC manual just says about the __TINYC__ macro:

   * '__TINYC__' is a predefined macro to indicate that you use TCC.

But it actually contains the version, computed with

  sprintf(buffer, "%d", a*10000 + b*100 + c);

This should be documented (this is not obvious without reading the
source since a = 0 currently).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to