Aktywne Wpisy

Jagoo +81
No, działa dodawanie zdjęć!
Wspaniały to był wieczór, kolejna wystawa, kolejni klienci zadowoleni. Wrzucam w komentarze zdjęcia z wydarzenia..
(Tak, gruba i pije, kasuje konto, więcej nie będę malować xd).
#jagooart #sztuka #malarstwo #psychodeliki #tworczoscwlasna
Wspaniały to był wieczór, kolejna wystawa, kolejni klienci zadowoleni. Wrzucam w komentarze zdjęcia z wydarzenia..
(Tak, gruba i pije, kasuje konto, więcej nie będę malować xd).
#jagooart #sztuka #malarstwo #psychodeliki #tworczoscwlasna
źródło: temp_file5585055437880244052
Pobierz
matkawielebna +54
#slubodpierwszegowejrzenia
Siedzę sobie przed tv, grzane winko, ślub od pierwszego wejrzenia, Wykopki, zero potrzeb.
Powtarzam, zero.
Siedzę sobie przed tv, grzane winko, ślub od pierwszego wejrzenia, Wykopki, zero potrzeb.
Powtarzam, zero.
źródło: IMG_3189
Pobierz




Mam mały problem z użyciem standardu C++11 w kompilatorze MinGW.
Znalazłęm jego rozwiązanie tutaj:
http://stackoverflow.com/questions/8542221/stdstoi-doesnt-exist-in-g-4-6-1-on-mingw
,,This is a result of a non-standard declaration of vswprintf on Windows. The GNU Standard Library defines GLIBCXXHAVEBROKENVSWPRINTF on this platform, which in turn disables the conversion functions you're attempting to use. You can read more about this issue and macro here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37522.
If you're willing to modify the header files distributed with MinGW, you may be able to work around this by removing the !defined(GLIBCXXHAVEBROKENVSWPRINTF) macro on line 2754 of .../lib/gcc/mingw32/4.6.1/include/c++/bits/basicstring.h, and adding it back around lines 2905 to 2965 (the lines that reference std::vswprintf). You won't be able to use the std::towstring functions, but many of the other conversion functions should be available."
Usunąłem już
,,!defined(GLIBCXXHAVEBROKENVSWPRINTF)"
i teraz nie mam pojęcia gdzie mam wstawić ten fragment
Prawdopobnie gdzieś tutaj: (Tylko gdzie?)
// DR 1261.
inline wstring
towstring(int val)
{ return gnucxx::_toxstring(&!defined(GLIBCXXHAVEBROKENVSWPRINTF), 4 * sizeof(int),
L"%d", _val); }
inline wstring
towstring(unsigned _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(unsigned),
L"%u", _val); }
inline wstring
towstring(long _val)
{ return gnucxx::_toxstring(&std::vswprintf, 4 * sizeof(long),
L"%ld", _val); }
inline wstring
towstring(unsigned long _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(unsigned long),
L"%lu", _val); }
inline wstring
towstring(long long _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(long long),
L"%lld", _val); }
inline wstring
towstring(unsigned long long _val)
{ return gnucxx::_toxstring(&std::vswprintf,
4 * sizeof(unsigned long long),
L"%llu", _val); }
inline wstring
towstring(float _val)
{
const int n =
gnucxx::_numerictraits::_maxexponent10 + 20;
return _gnucxx::_toxstring(&std::vswprintf, _n,
L"%f", val);
}
inline wstring
towstring(double _val)
{
const int n =
gnucxx::_numerictraits::_maxexponent10 + 20;
return _gnucxx::_toxstring(&std::vswprintf, _n,
L"%f", val);
}
inline wstring
towstring(long double _val)
{
const int n =
gnucxx::_numerictraits::_maxexponent10 + 20;
return _gnucxx::_toxstring(&std::vswprintf, _n,
L"%Lf", _val);
}
#endif
@kubaczka: Dzięki za info
(plusik za wrzutke na to co formatuje i koloruje składnie, niby nic ale czytelność wzrasta)
@Erk700: Jak chcesz robić w nowym C++ to zupgraduj się chociaż do 5.3, jak nie 6.2.