public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* About Bug 52485
@ 2018-05-09  8:12 SHIH YEN-TE
  2018-05-09  8:41 ` Marc Glisse
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: SHIH YEN-TE @ 2018-05-09  8:12 UTC (permalink / raw)
  To: gcc

Want to comment on "Bug 52485 - [c++11] add an option to disable c++11 user-defined literals"


It's a pity GCC doesn't support this, which forces me to give up introducing newer C++ standard into my project. I know it is ridiculous, but we must know the real world is somehow ridiculous as well as nothing is perfect.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About Bug 52485
  2018-05-09  8:12 About Bug 52485 SHIH YEN-TE
@ 2018-05-09  8:41 ` Marc Glisse
  2018-05-09  8:42 ` Will Hawkins
  2018-05-09  8:58 ` Jonathan Wakely
  2 siblings, 0 replies; 4+ messages in thread
From: Marc Glisse @ 2018-05-09  8:41 UTC (permalink / raw)
  To: SHIH YEN-TE; +Cc: gcc

On Wed, 9 May 2018, SHIH YEN-TE wrote:

> Want to comment on "Bug 52485 - [c++11] add an option to disable c++11 
> user-defined literals"
>
> It's a pity GCC doesn't support this, which forces me to give up 
> introducing newer C++ standard into my project. I know it is ridiculous, 
> but we must know the real world is somehow ridiculous as well as nothing 
> is perfect.

You have the wrong approach.

Apparently, you are using an unmaintained library (if it was maintained, 
it would be compatible with C++11 by now), so there is no problem 
modifying it, especially just to add a few spaces. A single run of 
clang-tidy would likely fix all of them for you.

-- 
Marc Glisse

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About Bug 52485
  2018-05-09  8:12 About Bug 52485 SHIH YEN-TE
  2018-05-09  8:41 ` Marc Glisse
@ 2018-05-09  8:42 ` Will Hawkins
  2018-05-09  8:58 ` Jonathan Wakely
  2 siblings, 0 replies; 4+ messages in thread
From: Will Hawkins @ 2018-05-09  8:42 UTC (permalink / raw)
  To: SHIH YEN-TE; +Cc: gcc

Thanks to your brand new Bugzilla account, you may now comment! :-)


You will receive instructions on how to reset your default default
password and access your account. Please let me know if you have any
questions or trouble gaining access.

I'd be happy to help in any way that I can!

Thanks for contributing to GCC!
Will


On Wed, May 9, 2018 at 4:08 AM, SHIH YEN-TE <shihyente@hotmail.com> wrote:
> Want to comment on "Bug 52485 - [c++11] add an option to disable c++11 user-defined literals"
>
>
> It's a pity GCC doesn't support this, which forces me to give up introducing newer C++ standard into my project. I know it is ridiculous, but we must know the real world is somehow ridiculous as well as nothing is perfect.
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About Bug 52485
  2018-05-09  8:12 About Bug 52485 SHIH YEN-TE
  2018-05-09  8:41 ` Marc Glisse
  2018-05-09  8:42 ` Will Hawkins
@ 2018-05-09  8:58 ` Jonathan Wakely
  2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2018-05-09  8:58 UTC (permalink / raw)
  To: SHIH YEN-TE; +Cc: gcc

On 9 May 2018 at 09:08, SHIH YEN-TE wrote:
> Want to comment on "Bug 52485 - [c++11] add an option to disable c++11 user-defined literals"
>
>
> It's a pity GCC doesn't support this, which forces me to give up introducing newer C++ standard into my project.

Why do you have to give up?

> I know it is ridiculous, but we must know the real world is somehow ridiculous as well as nothing is perfect.

Which is why GCC will only warn and not error when it sees ill-formed
uses of macros following string literals without whitespace. So you
should still be able to compile code that isn't compatible with C++11
user-defined literals.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-09  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09  8:12 About Bug 52485 SHIH YEN-TE
2018-05-09  8:41 ` Marc Glisse
2018-05-09  8:42 ` Will Hawkins
2018-05-09  8:58 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).