Re: [atlas-devel] anybody know of need for C89 compliance?
Brought to you by:
rwhaley,
tonyc040457
|
From: Jeff H. <jef...@gm...> - 2017-01-17 22:00:36
|
On Sat, Jan 14, 2017 at 6:33 PM, john skaller <sk...@us... > wrote: > > > On 15 Jan. 2017, at 08:11, Andrew Reilly <ar...@bi...> wrote: > > > > Hi Clint, > > > > The two compilers with least support for c99 features that I'm aware of > are MSVC and TI CodeComposer. Both have most of the support for C99 > library features, but both (being primarily C++ compilers) don’t have good > support for the C99 language features that aren't in C++. > > Doesn’t modern MSVC provide full C99 support? > >From what I've heard, there has been no progress on this except the cases where C99 features were added to C++11. > I though MS caved in to demands? > > Who would demand this? No one in the Windows world cares about C99. The only folks I know who want MSVC to support C99 are HPC developers who still think Windows support matters. > > > I’m fairly sure that modern versions of MSVC support long long int and > %llu, although you might have to spell the former as __int64 on some > versions. > > %llu works for "long long unsigned". For int64_t, you need the PRId64 macro. Since __int64 isn't standard, one does whatever the compiler docs specify. > I have no idea why anyone would want long long anyhow. > Use intptr_t instead. > > "long long" must be at least 64-bits, regardless of how wide pointers are. On a 32-bit OS, you would see sizeof(long long)=2*sizeof(intptr_t), no? Jeff, speaking in a strictly personal capacity > > — > john skaller > sk...@us... > http://felix-lang.org > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Math-atlas-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/math-atlas-devel > -- Jeff Hammond jef...@gm... http://jeffhammond.github.io/ |