Changeset ec129c4 for doc/user


Ignore:
Timestamp:
Oct 26, 2016, 5:10:48 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
1b29996
Parents:
315f634
git-author:
Peter A. Buhr <pabuhr@…> (10/26/16 17:02:36)
git-committer:
Peter A. Buhr <pabuhr@…> (10/26/16 17:10:48)
Message:

add additional #defines for CFA version numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    r315f634 rec129c4  
    1111%% Created On       : Wed Apr  6 14:53:29 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Thu Sep 29 11:50:28 2016
    14 %% Update Count     : 1325
     13%% Last Modified On : Tue Oct 25 23:03:59 2016
     14%% Update Count     : 1357
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    326326\begin{description}
    327327\item
    328 \Indexc{__CFA__}\index{preprocessor variables!__CFA__@{©__CFA__©}}
    329 is always available during preprocessing and its value is the current major \Index{version number} of \CFA.\footnote{
     328\Indexc{__CFA_MAJOR__}\index{preprocessor variables!__CFA__@{©__CFA__©}}
     329is available during preprocessing and its value is the major \Index{version number} of \CFA.\footnote{
    330330The C preprocessor allows only integer values in a preprocessor variable so a value like ``\Version'' is not allowed.
    331331Hence, the need to have three variables for the major, minor and patch version number.}
     
    333333\item
    334334\Indexc{__CFA_MINOR__}\index{preprocessor variables!__CFA_MINOR__@{©__CFA_MINOR__©}}
    335 is always available during preprocessing and its value is the current minor \Index{version number} of \CFA.
     335is available during preprocessing and its value is the minor \Index{version number} of \CFA.
    336336
    337337\item
    338338\Indexc{__CFA_PATCH__}\index{preprocessor variables!__CFA_PATCH__@©__CFA_PATCH__©}
    339 is always available during preprocessing and its value is the current patch \Index{version number} of \CFA.
    340 
    341 \item
     339is available during preprocessing and its value is the patch \Index{level number} of \CFA.
     340
     341\item
     342\Indexc{__CFA__}\index{preprocessor variables!__CFA__@©__CFA__©} and
    342343\Indexc{__CFORALL__}\index{preprocessor variables!__CFORALL__@©__CFORALL__©}
    343 is always available during preprocessing and has no value.
     344are always available during preprocessing and have no value.
    344345\end{description}
    345346These preprocessor variables allow conditional compilation of programs that must work differently in these situations.
Note: See TracChangeset for help on using the changeset viewer.