This is the mail archive of the gcc@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: generalized lvalues -- patch outline


Michael Matz <matz@suse.de> writes:

[...]

| The only C++ packages in which I see this is alsamixergui, chasen, 
| knights, libebml and licq, so I personally would be thankful already for 
| having such extension only in C.

Such C++ prckages can use reinterpret_cast<>.

C packages can use dedicated macros, if they really think the need
that sheating.   

| Practically speaking 4.0 is currently strictly less usefull in some 
| aspects for the average C programmer.

Well,  you and I have different notions of "average programmer".
Obvioulsy the cast-as-lvalue abomination is not something the averaget
programmer would jump into.

Probably, this sort of situations probably happen because some people
have been encouraged in conceiving programming as an activity of
throwing random codes to the compiler and see what happens.

:-(

-- Gaby


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