This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C PATCH]: tidy some code


Nathanael Nerode <neroden@twcny.rr.com> writes:

| >Not here because if you look at the diagnostic message carefully, it
| >isn't saying
| >
| >     structure '%s'
| >
| >nor
| >
| >    struct '%s'
| >
| >but
| >
| >    'struct %s'
| >
| >that is keyword struct is part of the type-name.  Translating 'struct'
| >in this specific case is just not translating because it is not a
| >noun: it is used to form a type-name.
| >
| >-- Gaby
| 
| What you may have missed is that some languages change the word for 'of' 
| based on the gender of the noun following.

(Since French is such a language, I'm well aware of the issue -- but
actually that is irrelevant).

Since the noun would be invariable "the type", the point is moot.  See
the rest of the thread.

| If 'of' cares about the gender 
| of its target, then
| 
| of 'struct %s'
| 
| may have a different 'of' than
| 
| of 'union %s'
| 
| does.

Here we're talking of the *type-name* 'struct %s'.

| After all, what's the gender of a quoted string?

Irrelevant.  We're not talking of a quoted string.  The quoted string
is the "format specifier" for a type *name*.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]