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

2014-07-03 Thread Ruben Van Boxem
:-) Cheers, Ruben > > -- > *From:* Ruben Van Boxem > *To:* "mingw-w64-public@lists.sourceforge.net" < > mingw-w64-public@lists.sourceforge.net> > *Sent:* Sunday, June 29, 2014 11:50 AM > > *Subject:* Re: [Mingw-w64-public] probl

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

2014-07-02 Thread Jim Michaels
remember there being some useful new stuff in c++14. my book is c++03. > > From: Ruben Van Boxem >To: "mingw-w64-public@lists.sourceforge.net" > >Sent: Sunday, June 29, 2014 11:50 AM >Subject: Re: [Mingw-w64-public] problem with

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

2014-06-29 Thread Ruben Van Boxem
lists.sourceforge.net > *Sent:* Saturday, June 21, 2014 9:03 PM > > *Subject:* Re: [Mingw-w64-public] problem with compiler not concatenating > strings > > According to the C++11 standard: "The macros defined by are > provided unconditionally. In particular, the symbol __S

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

2014-06-28 Thread Jim Michaels
thank you ivan, I did not know about cinttypes! this is new to me. it's not listed at cplusplus.com > > > > > From: Ivan Garramona >To: mingw-w64-public@lists.sourceforge.net >Sent: Saturday, June 21, 2014 9:03 PM >Subject: Re: [M

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

2014-06-22 Thread lh_mouse
12ull); return 0; } -- Best regards, lh_mouse 2014-06-22 - 发件人:Ivan Garramona 发送日期:2014-06-22 12:03 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] problem with compiler not concatenating strings According t

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

2014-06-22 Thread lh_mouse
It should be PRIu64 instead of PRSIu64. -- Best regards, lh_mouse 2014-06-22 - 发件人:Jim Michaels 发送日期:2014-06-22 08:23 收件人:Mingw64 Users 抄送: 主题:[Mingw-w64-public] problem with compiler not

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] problem with compiler not concatenating strings

2014-06-21 Thread Jim Michaels
mingw-w64-public@lists.sourceforge.net >Sent: Saturday, June 21, 2014 5:35 PM >Subject: Re: [Mingw-w64-public] problem with compiler not concatenating >strings > > >Jim Michaels writes: > >> printf("abc%" "I64u" "def", 12); &g

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