Richard Sandiford writes:
| Gabriel Dos Reis writes:
| > | FWIW, I prefer Andrew's patch, but since yours has been applied,
| > | I suppose there's no point changing it.
| >
| > when we come to agree on coding style guidelines for GCC in C++, I hope we
| > recommend against local extern declarat
Gabriel Dos Reis writes:
> | FWIW, I prefer Andrew's patch, but since yours has been applied,
> | I suppose there's no point changing it.
>
> when we come to agree on coding style guidelines for GCC in C++, I hope we
> recommend against local extern declarations.
Oh, for pure C++, I definitely ag
Richard Sandiford writes:
| Gabriel Dos Reis writes:
| > Andrew Pinski writes:
| >
| > | On Wed, Apr 27, 2011 at 6:48 PM, Gabriel Dos Reis
wrote:
| > | > A local `extern' declaration does not give the entity an external
linkage
| > | > -- irrespective of the linkage of the function enclosing
Gabriel Dos Reis writes:
> Andrew Pinski writes:
>
> | On Wed, Apr 27, 2011 at 6:48 PM, Gabriel Dos Reis wrote:
> | > A local `extern' declaration does not give the entity an external linkage
> | > -- irrespective of the linkage of the function enclosing the declaration.
> | > It just makes the
Andrew Pinski writes:
| On Wed, Apr 27, 2011 at 6:48 PM, Gabriel Dos Reis wrote:
| > A local `extern' declaration does not give the entity an external linkage
| > -- irrespective of the linkage of the function enclosing the declaration.
| > It just makes the name locally available for name looku
On Wed, Apr 27, 2011 at 6:48 PM, Gabriel Dos Reis wrote:
> A local `extern' declaration does not give the entity an external linkage
> -- irrespective of the linkage of the function enclosing the declaration.
> It just makes the name locally available for name lookup
> purpose. A variable declar
Andrew Pinski writes:
| On Wed, Apr 27, 2011 at 6:30 PM, Gabriel Dos Reis wrote:
| >
| > Richard,
| >
| > Your recent patch broke --enable-build-with-cxx because internal-fn.h
| > was using good 'ol C-style name lookup trick that behaves badly with
| > C++ linkage rules. Fixed thusly. Applied
On Wed, Apr 27, 2011 at 6:30 PM, Gabriel Dos Reis wrote:
>
> Richard,
>
> Your recent patch broke --enable-build-with-cxx because internal-fn.h
> was using good 'ol C-style name lookup trick that behaves badly with
> C++ linkage rules. Fixed thusly. Applied as obvious.
Can you explain some more