Re: Using _Decimal64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/06/2017 03:02 PM, Jonathan Wakely wrote:

That manual page specifically talks about GNU C, not C++, are you
using C or C++?

I am using C.
Then it should work OK, and indeed it does work OK for me using Fedora
26 on x86_64.

This completely breaks my wooden shoe! (Dutchism).

Indeed, when I created a small program, it compiles. Doesn't run as I expected (printf shows a different value), but it compiles and runs.

So I went back to my project and discovered that -std=c11 is the issue: is that even possible? Why would c11 be a problem if the _Decimal64 type is part of C99? Or maybe I misunderstand the documents and it might be part of the standard in the future?

Anyways, thank you for your time. Hopefully there is a way to combine C11 and _Decimal.

Kind regards, Guus Bonnema.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux