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%" PRSIu64 "def", 12);


#include <inttypes.h>
#include <stdio.h>
int main(void) {
    printf("abc%" "I64u" "def", 12);
    printf("abc%" PRSIu64 "def", 12);
    return 0;
}

has the c++ standard been changed? it used to be that  C/C++ would join 
separate strings that are separated by whitespace. this was a very useful 
feature and I need it.
thanks.


-------------
Jim Michaels
[email protected]
[email protected]
http://RenewalComputerServices.com
http://JesusnJim.com (my personal site, has software)
---
IEC Units: Computer RAM & SSD measurements, microsoft disk size measurements 
(note: they will say GB or MB or KB or TB when it is IEC Units!):
[KiB] [MiB] [GiB] [TiB]
[2^10B=1,024^1B=1KiB]
[2^20B=1,024^2B=1,048,576B=1MiB]
[2^30B=1,024^3B=1,073,741,824B=1GiB]
[2^40B=1,024^4B=1,099,511,627,776B=1TiB]
[2^50B=1,024^5B=1,125,899,906,842,624B=1PiB]
SI Units: Hard disk industry disk size measurements:

[kB] [MB] [GB] [TB]
[10^3B=1,000B=1kB]
[10^6B=1,000,000B=1MB]
[10^9B=1,000,000,000B=1GB]
[10^12B=1,000,000,000,000B=1TB]
[10^15B=1,000,000,000,000,000B=1PB]
------------------------------------------------------------------------------
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. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to