Re: [Mingw-w64-public] problem with compiler not concatenating strings

2014-06-21 Thread Ivan Garramona
According to the C++11 standard: "The macros defined by are provided unconditionally. In particular, the symbol __STDC_FORMAT_MACROS, mentioned in footnote 182 of the C standard, plays no role in C++." This checking should be something like: #if !defined(__cplusplus) || (__cplusplus >= 201103L) |

Re: [Mingw-w64-public] error using PRIu64 in inttypes.h

2014-06-21 Thread Ivan Garramona
Try to define __STDC_FORMAT_MACROS before include . -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple.

Re: [Mingw-w64-public] problem with compiler not concatenating strings

2014-06-21 Thread Jim Michaels
 I discovered the problem, it is the fact that the macros are not defined if C++ is being used. this locks out C++. #if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) i think it has to do with the C99 standard. > > From: Óscar Fuentes >To: mingw-w64-

Re: [Mingw-w64-public] problem with compiler not concatenating strings

2014-06-21 Thread Óscar Fuentes
Jim Michaels writes: > printf("abc%" "I64u" "def", 12); >    ^ > inttypes-strings.cpp:5:19: error: expected ')' before 'PRSIu64' > printf("abc%" PRSIu64 "def", 12); >    ^ > inttypes-strings.cpp:5:36: warning: spurious trailing '%' in form

[Mingw-w64-public] problem with compiler not concatenating strings

2014-06-21 Thread Jim Michaels
printf("abc%" "I64u" "def", 12);    ^ inttypes-strings.cpp:5:19: error: expected ')' before 'PRSIu64' printf("abc%" PRSIu64 "def", 12);    ^ inttypes-strings.cpp:5:36: warning: spurious trailing '%' in format [-Wformat=] printf("abc%" P

Re: [Mingw-w64-public] [PATCH] Add softmath mainly for ARM

2014-06-21 Thread Kai Tietz
2014-06-21 18:10 GMT+02:00 André Hentschel : > Am 21.06.2014 17:10, schrieb André Hentschel: >> Hi, >> this time i just put some commits on github for review [1], >> so please review, then i'll commit it except of the temporary tests. >> (btw, this is the work of more than two weeks...) >> >> [1] h

[Mingw-w64-public] error using PRIu64 in inttypes.h

2014-06-21 Thread Jim Michaels
#include #include #include #include     if (aprIECPrefixesi.size()!=aprIECPowersi.size()    ) {printf("%s:%u:programmer mismatch ERROR, aprIECPrefixesi.len=%" PRIu64 ",aprIECPowersi.len=%" PRIu64 ", notify jmich...@yahoo.com of this message\n",       __FILE__, __LINE__, apr

Re: [Mingw-w64-public] [PATCH] Add softmath mainly for ARM

2014-06-21 Thread André Hentschel
Am 21.06.2014 17:10, schrieb André Hentschel: > Hi, > this time i just put some commits on github for review [1], > so please review, then i'll commit it except of the temporary tests. > (btw, this is the work of more than two weeks...) > > [1] https://github.com/AndreRH/mingw-w64/commits/master >

[Mingw-w64-public] [PATCH] Add softmath mainly for ARM

2014-06-21 Thread André Hentschel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, this time i just put some commits on github for review [1], so please review, then i'll commit it except of the temporary tests. (btw, this is the work of more than two weeks...) [1] https://github.com/AndreRH/mingw-w64/commits/master -BEGIN P