preprocessor doc error...
Bruce Korb
bkorb@cruzio.com
Mon Jan 22 11:30:00 GMT 2001
Apparently in the docs for the preprocessor there is an example
of testing for a version after 2.6.2 that actually tests for
after 2.6.3. The fragment below shows how the test appears
(Aparece) and how it should be (debe ser):
Andres Felipe Vargas wrote:
> Existe un error en la documentacion del pre-procesador
> cuando se da un ejemplo de la macro standar del
> sistema __GNUC_PATCHLEVEL__
>
> Aparece:
>
> (( __GNUC__ > 2 ) || ( __GNUC__ == 2 && __GNUC_MINOR__
> > 6 ) || ( __GNUC__ == 2 && __GNUC_MINOR__ == 6 && __GNU_PATCHLEVEL__
> > 3))
>
> Y debe ser :
>
> (( __GNUC__ > 2 ) || ( __GNUC__ == 2 && __GNUC_MINOR__
> > 6 ) || ( __GNUC__ == 2 && __GNUC_MINOR__ == 6 && __GNU_PATCHLEVEL__
> > 2))
>
> Porque sino solo compilaria en caso de ser GCC 2.6.4 o
> mayor y no GCC 2.6.3 que es una version que incorpora
> la solucion al problema de la version 2.6.2
>
> - --
> - -----------------------------------------------
> ) | (
> | ' ' '| Andres Felipe Vargas Valencia
> | O O | Programador de Computadores
> | / | Tulua (V) - Colombia
> | ` |
> \`-4 / avargas@teletulua.com.co
> `--4 www.teletulua.com.co/~avargas
More information about the Gcc
mailing list