Re: [Mingw-w64-public] Help building cross-compiler on Linux
Re: make -j$(procs) I would not do this if. Redirects in makefiles exist, unless make -j's bughas been fixed concerning single-threadedness of stdout,stdin and shell. I think soluyion was to start new shells for those redirect lines, but I don't know if this solution is in place or not. Sent via BlackBerry from T-Mobile -Original Message- From: JonYDate: Wed, 7 Dec 2016 23:25:27 To: Reply-To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] Help building cross-compiler on Linux -- 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 -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] std::regex not fulfilling standard? missing templates
#include #include #include int main(void) {//u2d? std::cout<<std::regex_replace("abcdefghiabcdefghi",std::regex("def",std::regex_constants::extended),"CODE") <<" should have CODE twice in the string."<<std::endl; std::cout<<std::regex_replace("abcd\r\nefghiabcdefghi",std::regex("\n",std::regex_constants::extended),"CODE") <<" should have CODE\nefg... twice in the string."<<std::endl; std::cout<<std::regex_replace("abcd\r\nefghiabcdefghi",std::regex("\r\n",std::regex_constants::extended),"CODE") <<" should have abcdCODEefg... twice in the string."<<std::endl; std::cout<<std::regex_replace("abcd\r\nefghiabcdefghi",std::regex("\\n",std::regex_constants::extended),"CODE") <<" should have CODE twice in the string."<<std::endl; //for some reason, throws regex error at runtime about unexpected escape. //should not complain about having a backslash then n in the search-for. return 0; } performs a mostly correct set of replaces except for last. hope it helps. could be used in u2d since windows/dos use \r\n which is technically correct for older terminals like ADM-3A. look up the termcaps yourself if you would like. DEC VT-100 also, VT-102. the header wording on the cppreference page is not right, should be more like that of cplusplus.com's reference area. the point of regex_match is not to match the entire target string, but to match whatever portion of it is appropriate. for instance, using ^$ or not, or the full string without ^$. I just hope it works with carriage returns correctly. more testing. I posted a talk there that solves the problem. http://www.cplusplus.com/reference/regex/regex_match/ http://www.cplusplus.com/reference/regex/regex_replace/ I don't like trolling. apparently std::regex_replace doesn't like \\ in a C++ string. On Fri, November 4, 2016 8:29 pm, NightStrike wrote: > On Fri, Nov 4, 2016 at 11:37 PM, Jim Michaels > <jim.micha...@jesusnjim.com> wrote: > >> that page's description of regex_match has got to be wrong. what good >> use is there to match the entire line to the regex? seriously, think >> about it. I would substitute the abiguous term "target" for some other >> more specific variable name listed below. > > Ok, you're either extremely confused, or simply trolling. Either way, > I can't help you any longer. Please take your misunderstandings of > C++ elsewhere. > > > - > - > 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 > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > -- Jim Michaels jim.micha...@jesusnjim.com -- 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 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] std::regex not fulfilling standard? missing templates
that page's description of regex_match has got to be wrong. what good use is there to match the entire line to the regex? seriously, think about it. I would substitute the abiguous term "target" for some other more specific variable name listed below. On Wed, November 2, 2016 8:30 pm, NightStrike wrote: > On Wed, Nov 2, 2016 at 9:07 PM, Jim Michaels <jim.micha...@jesusnjim.com> > wrote: > >> #include >> #include >> int main(void) { >> std::cout<<(std::regex_match("abcdefg",std::regex("def",std::regex_cons >> tants::extended))?"true":"false")<<std::endl; >> return 0;} >> >> corrected some more bugs in that example and got "false". not sure why >> this is. sorry for the bumpy ride. > > This is, like your previous issue, due to your lack of understanding > the rules of C++ (specifically, the C++ Standard Library). You should make > use of cppreference.com, as it's a very good information source here. If > you did, you'd see this: > > http://en.cppreference.com/w/cpp/regex/regex_match > "...Determines if there is a match between the regular expression e > and the entire target character sequence [first,last)" > > What you really want is this: > > > http://en.cppreference.com/w/cpp/regex/regex_search > "Determines if there is a match between the regular expression e > and some subsequence in the target character sequence" > > Notice the difference? The function you are using matches on the > entire string, and thus only returns true if the regex is true for the > entire string. The second function operates on a substring, which is what > you want here. It's more like "grep" in this regard, if that analogy > works for you. > > Please try to read the documentation of the language. > > >> the function below is an old namespace clash bug between user-defined >> str and compiler's std for string and maybe algorithm. > > No, it was your incorrect use of namespace syntax. The compiler is fine. > > >> I could suppose it might be 10 years for a fix for that to reach gcc... >> :-( I know you folks are really busy. I just want a working and >> hopefully up-to-date compiler from somewhere for windows that isn't >> waving the dragon flag (you've *got* to be serious folks, those things >> are nasty). > > I think you should update your knowledge of the language. I also > think you should ask these basic, fundamental language questions in a forum > that is geared toward this sort of thing. You have been emailing this > list for years now, and aside from one or two exceptions (you did point > out a valid bug or two), every email has been off topic. We are generally > pretty lenient, and try to be a helpful audience. But then, you aren't > very nice about it, either. Honestly, you're kind of a mean, highly > insulting person that demands basic "google search" help on the wrong > topic from the wrong people. I don't understand why you do this > repeatedly, year after year. > > I hope you realize what mingw-w64 is and is not: It is a project that > provides headers and imports to the Windows APIs. As a nicety, we also > host some compiler toolchains that kind people build as a convenience > ONLY. We are *NOT* GCC. You can find that project at > gcc.gnu.org, whereas we are at mingw-w64.sf.net. We are also not a general > programming help forum. We tend to be nice people that help each other > out, and I myself have asked lots of questions over the years that are > unrelated to mingw-w64, both on the list and mainly in IRC. But just like > you wouldn't try to buy postage stamps at a restaurant, you are really > barking up the wrong tree here. I think, honestly, what you really need > is a good programming resource or tutor. Perhaps lynda.com can be of help > here, or irc://irc.freenode.net/##C++-general > > > - > - > 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 > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > -- Jim Michaels jim.micha...@jesusnjim.com -- 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 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH] lib32 msvcrt add mkgmtime exports - XP support?
I get enough XP boxes coming my way that spare my backside that I wish XP support would not stop. still trying to get my win7 box up and going again after hw failure. On Wed, November 2, 2016 4:27 pm, JonY wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > On 11/2/2016 16:56, Adrien Nader wrote: > >> Hi, >> >> >> A small thread hijack. >> >> >> On Mon, Oct 31, 2016, Martell Malone wrote: >> >>> Hey guys, >>> >>> >>> My only concern is if this is supported on windows xp. >>> https://msdn.microsoft.com/en-us/library/2093ets1.aspx MSDN has a >>> doc version from VS2005. I don't see anything about a min windows >>> version there. We already have this in the lib64 variant. So all >>> indicators are good. >> >> Some time ago there has been a conversation about XP support and v5 >> and future versions on IRC. And basically it said that XP support could >> be dropped after v5. So, what's the status? >> > > I'm OK with this, Kai? > > > -BEGIN PGP SIGNATURE- > > > iF4EAREIAAYFAlgadmQACgkQk721PNTrx0DPyAEAnU8i5dkxxWAwVG8dQCC/D6be > QkD1asdEl0Q936qRMzMA/0/pViuDE88V6L9fIWN41LVwzsUIIau1pdZPAHMS8mSz > =ppfV > -END PGP SIGNATURE- > -- > > 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___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > -- Jim Michaels jim.micha...@jesusnjim.com -- 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 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] std::regex not fulfilling standard? missing templates
#include #include int main(void) { std::cout<<(std::regex_match("abcdefg",std::regex("def",std::regex_constants::extended))?"true":"false")<<std::endl; return 0;} corrected some more bugs in that example and got "false". not sure why this is. sorry for the bumpy ride. the function below is an old namespace clash bug between user-defined str and compiler's std for string and maybe algorithm. I could suppose it might be 10 years for a fix for that to reach gcc... :-( I know you folks are really busy. I just want a working and hopefully up-to-date compiler from somewhere for windows that isn't waving the dragon flag (you've *got* to be serious folks, those things are nasty). On Wed, November 2, 2016 5:09 pm, Jim Michaels wrote: > namespace str { std::string str::localestringlower(std::string s) { > //not sure if std::locale:: will solve conflicting namespaces > between and for (size_t i=0; i < s.size(); i++) { > s[i]=std::tolower(s[i]); > } > return s; } > } > here's another one, compile that and see if it throws error messages about > declaring a std::string in an arg. it's in a namespace str. > > > std::cout<<std::regex_match("abcdefg",std::regex("def,std::regex_constant > s::extended))?"true":"false")<<std::endl; > > > I had a bug in my code, however I fixed it ansd still get > find.cpp: In function 'bool processFile(std::__cxx11::string)': > find.cpp:258:189: error: no matching function for call to > 'std::__cxx11::basic_regex::basic_regex(__gnu_cxx::__alloc_traits d::allocator<std::__cxx11::basic_string > >>> ::value_type&, unsigned int)' >>> > > it seems this string-string form of regex_match and regex_replace are > missing from the functionality. > > On Tue, November 1, 2016 12:47 pm, NightStrike wrote: > >> On Tue, Nov 1, 2016 at 2:14 PM, Jim Michaels >> <jim.micha...@jesusnjim.com> >> wrote: >> >> >>> problem with std::regex not fulfilling standard? for this code I got >>> the below >>> >>> for (intmax_t i=0; i < >>> regexPatterns.size()&&(findit=findIt||!std::regex_match(sline, >>> std::regex(findstr, std::regex(regexPatterns[i], >>> std::regex_constants::extended | >>> (icase?std::regex_constants::icase:0)); i++); >>> >>> >> >> What are you trying to accomplish with this code? It's difficult to >> read. You'll probably increase your likelihood of getting help if you >> provide a clear, easily understood example that demonstrates a problem, >> and specify exactly what that problem is. Putting the contents of >> your loop in an unreadable forloop while condition means that we have to >> untangle your snippet to even start to help you. I doubt that anyone >> will be willing to help you unless you clean up your question. >> >> --- >> -- >> - >> 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 >> ___ >> Mingw-w64-public mailing list >> Mingw-w64-public@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public >> >> >> > > > -- > Jim Michaels > jim.micha...@jesusnjim.com > > > --------- > - > 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 > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > -- Jim Michaels jim.micha...@jesusnjim.com -- 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 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] std::regex not fulfilling standard? missing templates
namespace str { std::string str::localestringlower(std::string s) { //not sure if std::locale:: will solve conflicting namespaces between and for (size_t i=0; i < s.size(); i++) { s[i]=std::tolower(s[i]); } return s; } } here's another one, compile that and see if it throws error messages about declaring a std::string in an arg. it's in a namespace str. std::cout<<std::regex_match("abcdefg",std::regex("def,std::regex_constants::extended))?"true":"false")<<std::endl; I had a bug in my code, however I fixed it ansd still get find.cpp: In function 'bool processFile(std::__cxx11::string)': find.cpp:258:189: error: no matching function for call to 'std::__cxx11::basic_regex::basic_regex(__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type&, unsigned int)' it seems this string-string form of regex_match and regex_replace are missing from the functionality. On Tue, November 1, 2016 12:47 pm, NightStrike wrote: > On Tue, Nov 1, 2016 at 2:14 PM, Jim Michaels <jim.micha...@jesusnjim.com> > wrote: > >> problem with std::regex not fulfilling standard? for this code I got the >> below >> >> for (intmax_t i=0; i < >> regexPatterns.size()&&(findit=findIt||!std::regex_match(sline, >> std::regex(findstr, std::regex(regexPatterns[i], >> std::regex_constants::extended | >> (icase?std::regex_constants::icase:0)); i++); >> > > What are you trying to accomplish with this code? It's difficult to > read. You'll probably increase your likelihood of getting help if you > provide a clear, easily understood example that demonstrates a problem, > and specify exactly what that problem is. Putting the contents of your > loop in an unreadable forloop while condition means that we have to > untangle your snippet to even start to help you. I doubt that anyone will > be willing to help you unless you clean up your question. > > - > - > 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 > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > -- Jim Michaels jim.micha...@jesusnjim.com -- 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 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] std::regex not fulfilling standard? missing templates
t<_Ch_type> __l, flag_type __f = ECMAScript) ^~~ c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:523:7: note: no known conversion for argument 1 from '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type {aka std::__cxx11::basic_string}' to 'std::initializer_list' c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:510:2: note: candidate: template std::__cxx11::basic_regex< , >::basic_regex(_FwdIter, _FwdIter, std::__cxx11::basic_regex< , >::flag_type) basic_regex(_FwdIter __first, _FwdIter __last, ^~~ c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:510:2: note: template argument deduction/substitution failed: find.cpp:285:162: note: deduced conflicting types for parameter '_FwdIter' ('std::__cxx11::basic_string' and 'unsigned int') if (!icase && std::regex_match(line, std::regex(findstr, std::regex(regexPatterns[i], std::regex_constants::extended | (icase?std::regex_constants::icase:0) { ^ In file included from c:\gcc-7-win32\include\c++\7.0.0\regex:62:0, from find.cpp:31: c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:490:2: note: candidate: template std::__cxx11::basic_regex< , >::basic_regex(const std::__cxx11::basic_string<_Ch_type, _Ch_traits, _Ch_alloc>&, std::__cxx11::basic_regex< , >::flag_type) basic_regex(const std::basic_string<_Ch_type, _Ch_traits, ^~~ c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:490:2: note: template argument deduction/substitution failed: find.cpp:285:122: note: cannot convert '(64u | (icase ? ((unsigned int)((std::regex_constants::syntax_option_type)std::regex_constants::icase)) : 0u))' (type 'unsigned int') to type 'std::__cxx11::basic_regex::flag_type {aka std::regex_constants::syntax_option_type}' if (!icase && std::regex_match(line, std::regex(findstr, std::regex(regexPatterns[i], std::regex_constants::extended | (icase?std::regex_constants::icase:0) { ~~~^~~ In file included from c:\gcc-7-win32\include\c++\7.0.0\regex:62:0, from find.cpp:31: c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:477:7: note: candidate: std::__cxx11::basic_regex< , >::basic_regex(std::__cxx11::basic_regex< , >&&) [with _Ch_type = char; _Rx_traits = std::__cxx11::regex_traits] basic_regex(basic_regex&& __rhs) noexcept = default; ^~~ c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:477:7: note: candidate expects 1 argument, 2 provided c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:470:7: note: candidate: std::__cxx11::basic_regex< , >::basic_regex(const std::__cxx11::basic_regex< , >&) [with _Ch_type = char; _Rx_traits = std::__cxx11::regex_traits] basic_regex(const basic_regex& __rhs) = default; ^~~ c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:470:7: note: candidate expects 1 argument, 2 provided c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:460:7: note: candidate: std::__cxx11::basic_regex< , >::basic_regex(const _Ch_type*, std::size_t, std::__cxx11::basic_regex< , >::flag_type) [with _Ch_type = char; _Rx_traits = std::__cxx11::regex_traits; std::size_t = unsigned int; std::__cxx11::basic_regex< , >::flag_type = std::regex_constants::syntax_option_type] basic_regex(const _Ch_type* __p, std::size_t __len, ^~~ c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:460:7: note: no known conversion for argument 1 from '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type {aka std::__cxx11::basic_string}' to 'const char*' c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:444:7: note: candidate: std::__cxx11::basic_regex< , >::basic_regex(const _Ch_type*, std::__cxx11::basic_regex< , >::flag_type) [with _Ch_type = char; _Rx_traits = std::__cxx11::regex_traits; std::__cxx11::basic_regex< , >::flag_type = std::regex_constants::syntax_option_type] basic_regex(const _Ch_type* __p, flag_type __f = ECMAScript) ^~~ c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:444:7: note: no known conversion for argument 1 from '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string > >::value_type {aka std::__cxx11::basic_string}' to 'const char*' c:\gcc-7-win32\include\c++\7.0.0\bits\regex.h:428:7: note: candidate: std::__cxx11::basic_regex< , >::basic_regex() [with _Ch_type = char; _Rx_traits = std::__cxx11::regex_traits] basic_regex() ^~~ -- Jim Michaels jim.micha...@jesusnjim.com -- 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 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] cause for 0xc0000005 fault@offset 0 in eventvwr
try it. On 9/9/2016 10:18 PM, LRN wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 10.09.2016 7:57, Jim Michaels wrote: >> On 9/9/2016 5:45 PM, Jim Michaels wrote: >>> I believe this to be caused by a runtime+stdc++ dll mismatch >>> between compiler versions. >>> >>> verified. >>> >> to explain further, say you have an exe compiled with 4.9.0 and you >> copy the dll's and EXE into \utils\ which is in your PATH. >> >> but then afterwards with compiler version 5.0.0 you copy the exe only >> into the same dir (mixup during process of going to static linking). >> >> now try to run the exe. it will GPF/abend/core dump because it is >> loading older dlls with an exe compiled with a newer compiler. >> >> if the exe were statically linked, this solves the problem. so does >> copying the dlls with the exe every time. but if you do the latter, >> you endanger older code. > I thought incompatible DLLs have different interface versions to ensure > that they are not mixed up. > > - -- > O< ascii ribbon - stop html email! - www.asciiribbon.org > -BEGIN PGP SIGNATURE- > Version: GnuPG v2 > > iQIcBAEBCAAGBQJX05eZAAoJEI2t6SdnWbp09+wP/2iZqRHGB3jxond0Rd25kHND > lL4JhIyquYVUYA9B+e7xJ9OTtKWXDYV4Y2MWI4YXa9YmBYz4Al5yxUBBMLEJZcmr > MQs6c8hG6MBunIZ5BUGWZUtxS3kICyBQRnGgvcwWQsGoOBTq+L79ljBWbnQTmnK2 > o7FgvxKruiNNHcnd5B+qutqVCk20MXdveriuEMyzetY0fyKXeW1EXObcmz7Pje7v > 8YJG+/PZXy7PQaIST7g1ZJOMhjMnhDSwDm+Ujt9ToJcXCcWQK5iynOZlU6grburA > lhjrddswFIkXRJ8CPYcTqxPK5sx/gYewmkTChAC1SHDntkyMywgO+JwTFt9yFHDK > 57y7z26+8t++K89h8ZD3VwonDy3YlqAnXYTXkEEZCPqg1Ye8FuVoYGdU2pU1iCy+ > TugFoy9hoYD/n2kYqQfmbyLBlOYBHqoy+MGewlJxk+DJxC2MwD42gUsgPbp9Ez5X > StHtSUAEGG/vhRZ9hYzwY+OHSucEPECrKSi7t5irRflflSKwB/BaXuGHVHqwJyLF > hVhZaoaI4qnCvIgEvma56UMXr1C0ib7Ah4xX0aanWTRAS1gkOB8i0hqpBpsUvvje > cvAYEdf37UC2Fb5gXgf6X/J/eR3q6LCVQDOy4wpkeXj8oLgkXYfO81xhVv1RE0Ho > WIiBnKU6FvhnvqRoskm9 > =cJaD > -END PGP SIGNATURE- > > > -- > > > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] cause for 0xc0000005 fault@offset 0 in eventvwr
to explain further, say you have an exe compiled with 4.9.0 and you copy the dll's and EXE into \utils\ which is in your PATH. but then afterwards with compiler version 5.0.0 you copy the exe only into the same dir (mixup during process of going to static linking). now try to run the exe. it will GPF/abend/core dump because it is loading older dlls with an exe compiled with a newer compiler. if the exe were statically linked, this solves the problem. so does copying the dlls with the exe every time. but if you do the latter, you endanger older code. Hope this helps - Jim On 9/9/2016 5:45 PM, Jim Michaels wrote: > I believe this to be caused by a runtime+stdc++ dll mismatch between > compiler versions. > > verified. > > > -- > ___ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] cause for 0xc0000005 fault@offset 0 in eventvwr
I believe this to be caused by a runtime+stdc++ dll mismatch between compiler versions. verified. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Autotools & git
a sh.exe would be exceptionally useful since windows does not provide one. - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) *From:* Ruben Van Boxem <vanboxem.ru...@gmail.com> *To:* Jean-Baptiste Kempf <j...@videolan.org>; "mingw-w64-public@lists.sourceforge.net" <mingw-w64-public@lists.sourceforge.net> *Sent:* Monday, June 6, 2016 2:30 PM *Subject:* Re: [Mingw-w64-public] Autotools & git I for one am grateful for the configure script. I’m sure I’m not alone. Ruben Van: Jean-Baptiste Kempf Verzonden: maandag 6 juni 2016 21:49 Aan: mingw-w64-public@lists.sourceforge.net <mailto:mingw-w64-public@lists.sourceforge.net> Onderwerp: Re: [Mingw-w64-public] Autotools & git On 06 Jun, Ozkan Sezer wrote : > Not everyone would have the required autofoo installed on their > systems to generate the configury. To me, it is polite to have the > generated files as they are intended to be in the repo. If you don't have autotools, then why are you compiling mingw64? If you are not compiling, take a tarball. Sorry, that makes little sense to me. -- Jean-Baptiste Kempf http://www.jbkempf.com/ <http://www.jbkempf.com/>- +33 672 704 734 Sent from my Electronic Device ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net <mailto:Mingw-w64-public@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] please disregard last email about string joiner.
-- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] problems with string combines in printf
void help(void) { printf("%s", PROGRAM_NAME " - " PROGRAM_DESCRIPTION "\r\n" "usage: " PROGRAM_NAME " [options] [file1 file2] ...\r\n" "options:\r\n" " [/?|-[-]?|-[-]h[elp]|/h[elp]] this help.\r\n" " [/version|-[-]version] gives version number.\r\n" " [/license|-[-]license] gives license.\r\n" " file1 file to compare with.\r\n" " file2 file to compare file1 against.\r\n" "if both files are equal of content, then ERRORLEVEL is 0 else ERRORLEVEL is 1.\r\n" ); } # 18 "compare.cpp" void help(void) { printf("%s", "compare" " - " PROGRAM_DESCRIPTION "\r\n" "usage: " "compare" " [options] [file1 file2] ...\r\n" "options:\r\n" " [/?|-[-]?|-[-]h[elp]|/h[elp]] this help.\r\n" " [/version|-[-]version] gives version number.\r\n" " [/license|-[-]license] gives license.\r\n" " file1 file to compare with.\r\n" " file2 file to compare file1 against.\r\n" "if both files are equal of content, then ERRORLEVEL is 0 else ERRORLEVEL is 1.\r\n" ); } Sat 08/13/2016 8:32:05.20|C:\Users\Kristina\Desktop\prj\compare\1.0\win|>g++ -static -save-temps -g -Xlinker compare.map -lstdc++ -std=c++11 -o 32\compar e.exe compare.cpp compare.cpp: In function 'void help()': compare.cpp:20:18: error: expected ')' before 'PROGRAM_DESCRIPTION' PROGRAM_NAME " - " PROGRAM_DESCRIPTION "\r\n" ^~~ Sat 08/13/2016 8:46:33.27|C:\Users\Kristina\Desktop\prj\compare\1.0\win|>g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/trunk/configure --prefix=/home/cauchy/native/gcc-7-win32 --with-sysroot=/home/cauchy/native/gcc-7-win32 --build=x 86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disable-gcov-tool --e nable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 7.0.0 20160715 (experimental) (GCC) -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH] stdio: Convert from 64 bit doubles to 80 bit, on platforms that lack an 80 bit long double
isn't that some sort of IEEE-754 software floating point switch? On 8/9/2016 3:46 AM, Martin Storsjö wrote: > This fixes printf of floats/doubles with -D__USE_MINGW_ANSI_STDIO=1, > on arm. > --- > Using __fpclassify instead of __fpclassifyl for the 64 bit long > double case, as suggested by Kai. > --- > mingw-w64-crt/stdio/mingw_pformat.c | 25 - > 1 file changed, 24 insertions(+), 1 deletion(-) > > diff --git a/mingw-w64-crt/stdio/mingw_pformat.c > b/mingw-w64-crt/stdio/mingw_pformat.c > index d193519..0438112 100644 > --- a/mingw-w64-crt/stdio/mingw_pformat.c > +++ b/mingw-w64-crt/stdio/mingw_pformat.c > @@ -,9 +,32 @@ char *__pformat_cvt( int mode, __pformat_fpreg_t x, > int nd, int *dp, int *sign ) > int k; unsigned int e = 0; char *ep; > static FPI fpi = { 64, 1-16383-64+1, 32766-16383-64+1, FPI_Round_near, 0, > 14 /* Int_max */ }; > > + if( sizeof( double ) == sizeof( long double ) ) > + { > +/* The caller has written into x.__pformat_fpreg_ldouble_t, which > + * actually isn't laid out in the way the rest of the union expects it. > + */ > +int exp = (x.__pformat_fpreg_mantissa >> 52) & 0x7ff; > +unsigned long long mant = x.__pformat_fpreg_mantissa & > 0x000fULL; > +int integer = exp ? 1 : 0; > +int signbit = x.__pformat_fpreg_mantissa >> 63; > + > +k = __fpclassify( x.__pformat_fpreg_double_t ); > + > +if (exp == 0x7ff) > + exp = 0x7fff; > +else if (exp != 0) > + exp = exp - 1023 + 16383; > +x.__pformat_fpreg_mantissa = (mant << 11) | ((unsigned long long)integer > << 63); > +x.__pformat_fpreg_exponent = exp | (signbit << 15); > + } > + else > +k = __fpclassifyl( x.__pformat_fpreg_ldouble_t ); > + > + > /* Classify the argument into an appropriate `__gdtoa()' category... > */ > - if( (k = __fpclassifyl( x.__pformat_fpreg_ldouble_t )) & FP_NAN ) > + if( k & FP_NAN ) > /* >* identifying infinities or not-a-number... >*/ -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] please include gcobol, gcj
even if it's just gcj. I have java stuff to recompile after some important changes to the math. and swing makes a nice gui. thanks. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Need help building mingw-w64 for ARM
On 7/26/2016 12:21 PM, André Hentschel wrote: > Am 25.07.2016 um 12:21 schrieb dw: >> Thank you for the link, I was not aware of this. I'm using Msys2, so >> the linux issues should not affect me. >> >> While I got the associated binutils to build (which gets me an 'as' >> build that supports the .def directive, yay!), I have been totally >> unable to get the patched gcc to build. >> >> The patches here are from ~3 years ago (2013-03-17), but the PKGBUILD >> seems to download gcc's current 'trunk.' Does that seem right? Not >> surprisingly, the patches fail in a number of places. I have tried to >> fix them, but I'm not having much luck. Would it make sense to git a 3 >> year old version of gcc (~215509) instead? Would -e prevent makepkg >> from trying to update it? > older gcc seems like a solution, or you can compile mingw-w64 for clang > instead > >> My end goal here is to test a mingw-w64 source code change to make sure >> I'm not breaking ARM builds. >> >> I gotta wonder: How do other people do ARM builds? > There are not too many people doing that > > ARM comes in 3 interesting flavors: so make a triple decker. ARM32\ (formerly arm) ARM64V80\ (64-bit, different instruction set than arm32 which are earlier versions of arm) ARM64V81\ (arm v8.1, different instruction set than v80) so I would suggest that for one compiler, it could have these directories and x86\lib x86_64\lib ARM32\lib\ ARM64V80\lib\ ARM64V81\lib\ x86\include\ x86_64\include\ ARM32\include\ ARM64V80\include\ ARM64V81\include\ include\x86\c++\7.0.0\ include\x86_64\c++\7.0.0\ include\ARM32\c++\7.0.0\ include\ARM64V80\c++\7.0.0\ include\ARM64V81\c++\7.0.0\ x86\bin\ x86_64\bin\ ARM32\bin\ ARM64V80\bin\ ARM64V81\bin\ no, x86 and x86_64 do not mesh well together, because the DLLs have the same name, and the exes do not mix either for same reason. if someone wants to do simultaneous builds to build for multiplatform, a for statement in the cmd shell can do this: for %x in (x86 x86_64 ARM32 ARM64V80, ARM64V81) do (\gcc-7-win32\%x\g++ -static... > %x-error.txt) in a batch file you change %x to %%x. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] partial bug in #if defined(USEFSTREAM) ?, bug in \n handling
is there a partial bug in #if defined(USEFSTREAM) ? I could not reproduce when I had corrected my code, but for a while it looked as if that was being ignored and stdio stuff was being used instead. cannot reproduce the bug. strangely enough, I outputted \r\n and the resulting file does not have the \r in them and is not editable via notepad. remember real terminals before xterms? like ADM3A, they required both cr and lf to go to beginning of next line. linux is violating that defacto standard. \r is being filtered out. it should not be. in fact, colleges should go back to teaching about CR+LF (\r\n). macos is wrong on this too. /* Author: Jim Michaels, for Jim Michaels only, for now Abstract: takes joined file from KBIB_KJ1..5.zip from simtel MSDOS collection and joins the split-up verses in there so it is 1 verse per line. Created: 3-25-2016 Copyright: License: Instructions: run in same extracted dir where GEN.TXT resides. Bugs: - 1.0 access violation (pointer problem, array-out-of-bounds problem) and program does not execute. */ #define PROGRAM_NAME "KBIB_KJ1to5toBible_txt" #define PROGRAM_DESCRIPTION "takes files in KBIB_KJ1..5.zip and converts it to 1 verse per line." #define PROGRAM_VERSION "1.0" #define BUFSIZE (16777216) #define USEFSTREAM #include #include #include #include #include #include #include #include #include typedef std::vector VS; typedef VS::size_type VST; typedef VS::iterator VSI; VS bookFilenames={ "GEN.TXT", "EXO.TXT", "LEV.TXT", "NUM.TXT", "DEU.TXT", "JOS.TXT", "JDG.TXT", "RTH.TXT", "SA1.TXT", "SA2.TXT", "KI1.TXT", "KI2.TXT", "CH1.TXT", "CH2.TXT", "EZR.TXT", "NEH.TXT", "EST.TXT", "JOB.TXT", "PSA.TXT", "PRO.TXT", "ECC.TXT", "SON.TXT", "ISA.TXT", "JER.TXT", "LAM.TXT", "EZE.TXT", "DAN.TXT", "HOS.TXT", "JOE.TXT", "AMO.TXT", "OBA.TXT", "JON.TXT", "MIC.TXT", "NAH.TXT", "HAB.TXT", "ZEP.TXT", "HAG.TXT", "ZEC.TXT", "MAL.TXT", "MAT.TXT", "MAR.TXT", "LUK.TXT", "JOH.TXT", "ACT.TXT", "ROM.TXT", "CO1.TXT", "CO2.TXT", "GAL.TXT", "EPH.TXT", "PHI.TXT", "COL.TXT", "TH1.TXT", "TH2.TXT", "TI1.TXT", "TI2.TXT", "TIT.TXT", "PHM.TXT", "HEB.TXT", "JAM.TXT", "PE1.TXT", "PE2.TXT", "JO1.TXT", "JO2.TXT", "JO3.TXT", "JUD.TXT", "REV.TXT" }; namespace str { //string type for S like std::string, std::wstring, etc. int compare(std::string first, std::string second, bool iCase=false, size_t firstPos=0) { size_t middle=((first.size()-firstPos)/2)+((first.size()-firstPos)%2)+firstPos,i; bool isMiddle=1==(first.size()-firstPos)%2; if (firstPos+second.size()>first.size()) return -2;//problem with using an int if (first.size()<second.size()) return -1; if (first.size()>second.size()) return +1; //they are both equal length here. //narrowing both-sides comparison for extra speed for (i=0; i <= (first.size()-firstPos)/*/2*/; i++) { //case-sensitive //less than if (iCase) if (std::toupper(first.at(i+firstPos))<std::toupper(second.at(i))||std::toupper(first.at(first.size()-i+firstPos))<std::toupper(second.at(second.size()-i))) return -1; //greater-than if (iCase) if (std::toupper(first.at(i+firstPos))>std::toupper(second.at(i))||std::toupper(first.at(first.size()-i+firstPos))>std::toupper(second.at(second.size()-i))) return +1; //ignore-case //less-than if (!iCase) if (first.at(i+firstPos) < second.at(i)|| first.at(first.size()-i+firstPos)< second.at(second.size()-i)) return -1; //greater-than if (!iCase) if (first.at(i+firstPos) > second.at(i)|| first.at(first.size()-i+firstPos)> second.at(second.size()-i)) return +1; } if (isMiddle) { //case-sensitive
[Mingw-w64-public] %ll not a bug, my syntax error. long time no use printf, no man pages
make manual? isn't there some sort of make target for help or manual or info? html output maybe? using g++, #include char buf[16777216]; printf("bufsize %lld\r\n",sizeof(buf)); printf("%lld %s\r\n", -12,"cd"); outputs bufsize 21198893437943809 21009446708707316 ê■" ALL wrong. -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] more stdio.h bugs
bug: fread() always returns 0. buffer I used was 16MiB=16777216. bug: printf format %ll messes up whole format string. %llu works and then all is OK. Example: printf("%ll %s\r\n", -12,"cd"); this outputs %s -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] g++ throwing compiler out with the bathwater
build 0708 (internally 0609) #include #include #include namespace str { //string type for S like std::string, std::wstring, etc. int compare(std::string& first const, std::string& second const, bool iCase=false, size_t firstPos=0) const { ... } I had thought the problem might be the & reference, so I dropped those and same error message. g++ seems to now be throwing errors on any syntax. it must be royally confused. and it still doesn't like ) on functions. Sat 07/16/2016 10:37:03.31|C:\Users\Kristina\Desktop\prj\eolconvert\1.0\win|>g++ -v -save-temps -DTEST -s -static -lstdc++ -std=c++11 -o 32\eolconvert.exe eolconvert.cpp Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/trunk/configure --prefix=/home/cauchy/native/gcc-7-win32 --with-sysroot=/home/cauchy/native/gcc-7-win32 --build=x 86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disable-gcov-tool --e nable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 7.0.0 20160609 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' '-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2' c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe -E -quiet -v -iprefix c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/ -isysroot c:\gcc-7-win32\bin\../../gcc-7-win32 -U_REENTRANT -D TEST eolconvert.cpp -mtune=generic -march=core2 -std=c++11 -fpch-preprocess -o eolconvert.ii ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include" ignoring nonexistent directory "c:\gcc-7-win32\bin\../../gcc-7-win32/home/cauchy/native/gcc-7-win32/lib/gcc/i686-w64-mingw32/7.0.0/../../../../include" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include" ignoring nonexistent directory "c:\gcc-7-win32\bin\../../gcc-7-win32/mingw/include" #include "..." search starts here: #include <...> search starts here: c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0 c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32 c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' '-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2' c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe -fpreprocessed eolconvert.ii -quiet -dumpbase eolconvert.cpp -mtune=generic -march=co re2 -auxbase eolconvert -std=c++11 -version -o eolconvert.s GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32) compiled by GNU C version 7.0.0 20160609 (experimental), GMP version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32) compiled by GNU C version 7.0.0 20160609 (experimental), GMP version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 85f4626b884448f9672ebbd3379aa3ed eolconvert.cpp:6:32: error: expected ',' or '...' before 'const' int compare(std::string first const, std::string second const, bool iCase=false, size_t firstPos=0) const { ^ eolconvert.cpp:6:102: error: non-member function 'int str::compare(std::__cxx11::string)' cannot have cv-qualifier int compare(std::string first const, std::string second const, bool iCase=false, size_t firstPos=0) const { ^ eolconvert.cpp: In function 'int str::compare(std::__cxx11::string)': eolconvert.cpp:7:39: error: 'firstPos' was not declared in this scope size_t
[Mingw-w64-public] bug in 20160708 x32 x32, STDERR not defined in stdio.h
#include fprintf(STDERR, "eolconvert:ERROR: unable to open file \"%s\" for input\r\n", "abc"); STDERR is not defined in stdio.h. also, why does 0708's date say 7.0.0 20160609? I suspect there's a version problem. Fri 07/15/2016 17:26:18.94|C:\Users\Kristina\Desktop\prj\eolconvert\1.0\win|>g++ -v -save-temps -DTEST -s -static -lstdc++ -std=c++11 -o 32\eolconvert.exe eolconvert.cpp Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/trunk/configure --prefix=/home/cauchy/native/gcc-7-win32 --with-sysroot=/home/cauchy/native/gcc-7-win32 --build=x 86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disable-gcov-tool --e nable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 7.0.0 20160609 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' '-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2' c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe -E -quiet -v -iprefix c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/ -isysroot c:\gcc-7-win32\bin\../../gcc-7-win32 -U_REENTRANT -D TEST eolconvert.cpp -mtune=generic -march=core2 -std=c++11 -fpch-preprocess -o eolconvert.ii ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include" ignoring nonexistent directory "c:\gcc-7-win32\bin\../../gcc-7-win32/home/cauchy/native/gcc-7-win32/lib/gcc/i686-w64-mingw32/7.0.0/../../../../include" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed" ignoring duplicate directory "c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include" ignoring nonexistent directory "c:\gcc-7-win32\bin\../../gcc-7-win32/mingw/include" #include "..." search starts here: #include <...> search starts here: c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0 c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32 c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' '-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2' c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe -fpreprocessed eolconvert.ii -quiet -dumpbase eolconvert.cpp -mtune=generic -march=co re2 -auxbase eolconvert -std=c++11 -version -o eolconvert.s GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32) compiled by GNU C version 7.0.0 20160609 (experimental), GMP version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32) compiled by GNU C version 7.0.0 20160609 (experimental), GMP version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 85f4626b884448f9672ebbd3379aa3ed eolconvert.cpp:106:146: error: explicit qualification in declaration of 'std::__cxx11::string str::str_replace(std::__cxx11::string&, std::__cxx11::string& , std::__cxx11::string&, size_t, bool, bool)' std::string str::str_replace(std::string& target, std::string& findwhat, std::string& replacewith, size_t pos=0, bool iCase=false, bool all=true) { ^ eolconvert.cpp: In function 'int main(int, char**)': eolconvert.cpp:191:12: error: 'STDERR' was not declared in this scope fprintf(STDERR, "eolconvert:ERROR: unable to open file \"%s\" for input\r\n", argv[i]); ^~ eolconvert.cpp:203:12: error: 'STDERR' was not declared in this scope fprintf(STDERR, "eolconvert:ERROR: unable to open file \"%s\" for output\r\n", argv[i]); ^~ also, const after a declaration errors. eolconvert.cpp:6:33: error: expected ',' or '...' before 'const' int
[Mingw-w64-public] automated, personal builds have stopped
please test the releases before putting out to public. thanks. we need a gcc compiler for windows, and yours is it for the free stuff. but it's broken. please fix. thanks. - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] double-check memory functions for proper multiplication like memcpy, malloc, free, etc
double-check memory functions for proper multiplication like memcpy, malloc, free, etc. also check std::string.size() and .length() for proper functionality please -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH] iptypes.h: Fix header guards
unsubscribe - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) From: Hugo Beauzée-Luyssen <h...@beauzee.fr> To: mingw-w64-public@lists.sourceforge.net Sent: Tuesday, June 21, 2016 6:37 AM Subject: [Mingw-w64-public] [PATCH] iptypes.h: Fix header guards --- mingw-w64-headers/include/iptypes.h | 5 + 1 file changed, 5 insertions(+) diff --git a/mingw-w64-headers/include/iptypes.h b/mingw-w64-headers/include/iptypes.h index 745d3f9..d044a83 100644 --- a/mingw-w64-headers/include/iptypes.h +++ b/mingw-w64-headers/include/iptypes.h @@ -6,6 +6,9 @@ #ifndef IP_TYPES_INCLUDED #define IP_TYPES_INCLUDED +#include +#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || _WIN32_WINNT >= 0x0A00 + #ifdef __cplusplus extern "C" { #endif @@ -369,5 +372,7 @@ extern "C" { } #endif +#endif /* #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || _WIN32_WINNT >= 0x0A00 */ + #endif /* IP_TYPES_INCLUDED */ -- 2.8.1 -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] gcc bugs, gnu folk won't acknowledge
http://www.cpp.sh/4lycn bugs in gcc, won't compile - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] more odd errors
C:>g++ -W -Wall -Ofast -std=c++11 -llibstdc++ -o 32\egrepsed.exe egrepsed cpp ..\..\..\lib\strfuncs\strfuncs.cpp 2>egrepsed.err.txt C:>if exist 32\egrepsed.exe copy 32\egrepsed.exe \u\ /y 1 file(s) copied. C:>type egrepsed.err.txt In file included from egrepsed.cpp:56:0: ../../../lib/strfuncs/strfuncs.h:190:97: error: explicit qualification in declaration of 'size_t str::find(S&, S&, bool, size_t)' template size_t str::find(S& searchIn, S& searchFor, bool iCase=false, size_t pos=0); ^ ../../../lib/strfuncs/strfuncs.h:242:14: error: 'S' has not been declared template bool VSOSUniqueCompare(S& first, S& second,iCase=false); ^C:\Users\Kristina\desktop\prj\lib\strfuncs\strfuncs.cpp: In function 'int str::osstrcmp(S&, S&, size_t)': C:\Users\Kristina\desktop\prj\lib\strfuncs\strfuncs.cpp:183:42: error: expected primary-expression before '<' token return ((caseInsensitiveOS && 0==str::compare(first,second,true,firstPos)) ^ C:\Users\Kristina\desktop\prj\lib\strfuncs\strfuncs.cpp:183:44: error: expected primary-expression before '>' token return ((caseInsensitiveOS && 0==str::compare(first,second,true,firstPos)) ^ these are templates and properly applied. In file included from ../../../lib/atoi64/atoi64.hpp:94:0, from disk-refresh.cpp:44: ../../../lib/atoi64/../strfuncs/strfuncs.h:190:97: error: explicit qualification in declaration of 'size_t str::find(S&, S&, bool, size_t)' template size_t str::find(S& searchIn, S& searchFor, bool iCase=false, size_t pos=0); ^this is in a namespace str. I had to do that because otherwise #include 's std::find() would throw errors about a name clash. this solution throws an error too. so I am stuck with no working compiler. got one somewhere? - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] build box?
hpe (HP Enterperise) may have a build box you can buy. give them the specs and see if they can build it for nothing. - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] why is g++ pasting the source code it compiles into the cmd shell?
Tue 04/26/2016 17:09:24.55|C:\Users\Kristina\Desktop\prj\disk-refresh\disk-refresh-1.0\win|>g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --prefix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5 -win32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disab le-gcov-tool --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160412 (GCC) Tue 04/26/2016 17:09:30.77|C:\Users\Kristina\Desktop\prj\disk-refresh\disk-refresh-1.0\win|> dongsheng daily (it's actually weekly now) x32pasting is random/flaky. it might be a redirect symbol in a source code file I have. I don't remember how to code fortran, it's not one if my main languages. and I don't know how to compile it. could you supply compile line examples in an Examples.txt file like rem parallel compile mkdir 32 64 arm32 arm64 atom start g++ -static -W -Wall -O2 -march=i686 -fautovec -s -o 32\src.exe src.cpp start g++ -static -W -Wall -O2 -march=x86_64 -fautovec -s -o 64\src.exe src.cpp start g++ -static -W -Wall -O2 -march=arm -fautovec -s -o arm32\src.exe src.cpp start g++ -static -W -Wall -O2 -march=arm64 -fautovec -s -o arm64\src.exe src.cpp start g++ -static -W -Wall -O2 -march=atom -fautovec -s -o atom\src.exe src.cpp rem arm64 is ARMv8. rem make -j is broken. it's not just the single-threaded stdout either. are the following valid? if not, why do they teach them? whay do they not teach them? they work. int main(void)void main(void)int main(int argc, char * argv[])void main(int argc, char * argv[])int main(int argc, char * argv[], char * envp[]) //this is as far as I learned in college void main(int argc, char * argv[], char * envp[]) if there are more, why aren't they documented? not taught. I need to know about them. put them in Examples.txt and tell what they are for, and explain how to address argv and envp. did you know you can have a WinMain() and main() in the same program? nice feature. ----- Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) From: LRN <lrn1...@gmail.com> To: mingw-w64-public@lists.sourceforge.net Sent: Tuesday, April 26, 2016 2:39 PM Subject: Re: [Mingw-w64-public] why is g++ pasting the source code it compiles into the cmd shell? -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 27.04.2016 0:09, Jim Michaels wrote: > why is g++ pasting the source code it compiles into the cmd shell? > nasty action. Which version of g++? Which distribution of GCC (i.e. where did you get it from)? Does this depend on the code of the program it compiles, or does it paste source code of *any* program? How are you invoking g++? What does the commandline look? Does this affect gcc? gfortran? Other compilers from GCC? it's probably the return compare(first,second,iCase)<0; http://www.asus.com/us/supportonly/Z10PE-D16%20WS/HelpDesk_QVL/saves on server $ use corsair 600T case or antec 1200 series and choice of cooler is going to be interesting, since it needs extra cooling. for now use 1 cpu and a corsair H110i. the GTX is worse. parallel builds. nice number of cores with e5-2697 v3 and mobo takes 1TiB RAM. http://www.newegg.com/Desktop-Computers/BrandSubCat/ID-12150-10 (yes, atom pc's do exist - they go on the back of monitors) vvv that's not appropriate. you know why. - -- O< ascii ribbon - stop html email! - www.asciiribbon.org -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQEcBAEBCAAGBQJXH+AOAAoJEOs4Jb6SI2Cw2XoH/3NsG8yJGF3LxgEhcwdTI/H5 tf8eVtMQBtZJab/sxygSj7MJhs7+JoZZuJW+6W0URcIbgMaTBvdJHINqhweVUnlB j2QvSE/uKs5Njhs0fOP78bG/d28iqKQpKUY+yBiamtv02+/tb+rjlid6ECgts4TN nN0q7zPMQhACVCGsQbdLdJ769b+epyllvQJ/M0f8gns7o2oY2JFQfePPa4HEELuv 3MmdASztXFVr4qurT130/XzVYlh8tdAkp6ZosHm1DqFqFRHwJvuGZwOwgbLrjmmH CKNRRNfamMoS2x+SxUcgKJMJJjWbWdM4+j+mHCIaJ+FRAvUKoz3lQzn3O8mkyPM= =NM4q -END PGP SIGNATURE- -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -
[Mingw-w64-public] 2 errors in compiler error, warning, why isn't template<>{} supported?
why isn't template {typedef std::vector< S > VS; bool append(VS& vs,S s);} supported? It's too time consuming for some like the company I am going to declare another class in template<>. why doesn't new return failure info like malloc? on low-RAM systems like most XP boxes in companies, it fails and leaves a surprise when program doesn't work right. good folks check for failure and do the right thing. remember low-memory boxes. bool caseSensitiveOS=false;namespace str { bool a(int first, int second) { if (caseInsensitiveOS) { return 0==1; } else { return 0==0; } } } ..\..\..\lib\strfuncs\strfuncs.cpp:165:45: error: request for member 'at' in 'second', which is of non-class type 'const char*' ..\..\..\lib\strfuncs\strfuncs.cpp:166:45: error: request for member 'at' in 'first', which is of non-class type 'const char*' if (!iCase) if (first.at(middle)>second.at(middle)) return +1; ^ this error is confusing as all get out since there is no problem - compiler may be borked because of 2000 errors. might be a bad error message. ..\..\..\lib\strfuncs\strfuncs.cpp:166:45: error: request for member 'at' in 'second', which is of non-class type 'const char*' ..\..\..\lib\strfuncs\strfuncs.cpp: In function 'bool str::a(STRTYPE, STRTYPE)': ..\..\..\lib\strfuncs\strfuncs.cpp:1214:5: warning: control reaches end of non-void function [-Wreturn-type] } ^ warning is improperly applied. - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] why is g++ pasting the source code it compiles into the cmd shell?
why is g++ pasting the source code it compiles into the cmd shell? nasty action. - Jim Michaels<jmich...@yahoo.com> http://www.JesusnJim.com (computer repair info, programming) -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] improper errors on what should be valid code syntax
I am seeing an example of ostream& operator<<(std::ostream& os, Loc& lc) that should work. did something change between now and 30 years ago? - Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com http://www.RenewalComputerServices.com http://www.JesusnJim.com (computer repair info, programming) From: lh_mouse <lh_mo...@126.com> To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net> Sent: Thursday, March 31, 2016 10:04 AM Subject: Re: [Mingw-w64-public] improper errors on what should be valid code syntax I have no idea what you are trying to do by putting stuff into the namespace std. Again, you should attach your source file and let me have a look. -- Best regards, lh_mouse 2016-04-01 --------- 发件人:Jim Michaels <jmich...@yahoo.com> 发送日期:2016-04-01 01:00 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] improper errors on what should be valid code syntax excuse me again. the compiler has been thrown into some strange state where it's wildly tossing errors. I don't know what caused it. first error was overloading not allowed for at. probably at and erase for #3. #3.1 didn't change anything, but I changed T to _T. 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined meaning what? how would I specifically use "this"? thanks for the tips. namespace std { template class tree {//outline or N-ary Tree From: lh_mouse <lh_mo...@126.com> To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net> Sent: Thursday, March 31, 2016 9:37 AM Subject: Re: [Mingw-w64-public] improper errors on what should be valid code syntax Your code is NOT valid. You are using the reserved identifier '_T'. Your code results in undefined behavior. Attach the source file and let us see how to fix it. WG21 (ISO/IEC C++) N4582 2.10 Identifiers [lex.name] 3 In addition, some identifiers are reserved for use by C++ implementations and shall not be used otherwise; no diagnostic is required. (3.1) — Each identifier that contains a double underscore __ or begins with an underscore followed by an uppercase letter is reserved to the implementation for any use. (3.2) — Each identifier that begins with an underscore is reserved to the implementation for use as a name in the global namespace. 17.6.4.3 Reserved names [reserved.names] 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined. -- Best regards, lh_mouse 2016-04-01 --------- 发件人:Jim Michaels <jmich...@yahoo.com> 发送日期:2016-04-01 00:30 收件人:mingw64 users 抄送: 主题:[Mingw-w64-public] improper errors on what should be valid code syntax c:\jim\tree>g++ -std=c++11 -W -Wall -otree2.o tree2.cpp 2>tree2.err.txt c:\jim\tree>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --prefix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5 -win32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disab le-gcov-tool --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160318 (GCC) c:\jim\tree> tree2.cpp:121:19: error: 'std::tree<_T>& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' cannot be overloaded tree<_T>& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp:100:24: error: with 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' VTREE_LEAVESI& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp: In member function 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::linearAddress(std::tree<_T>::VTREE_LEAVEST&)': tree2.cpp:203:47: error: 'indices' was not declared in this scope } else if (0!=leaves.size() && 0==indices.size()) { ^ tree2.cpp: At global scope: tree2.cpp:248:12: error: expected initializer before 'operator' _T operator[](VTRE
Re: [Mingw-w64-public] improper errors on what should be valid code syntax
I am also having error consistency problems.std::tree::operator>> vs std::ifstream& std::tree::operator>> one gives a with error and the other gives that operator>> is not overloadable. so I tried friend function and it failed. tree2.cpp:518:37: error: 'std::ifstream& std::tree::operator>>(std::tree::VTREE_LEAVESI&)' cannot be overloaded std::ifstream& /*tree::*/operator>>(/*std::ifstream& fi, */VTREE_LEAVESI& vi) { ^ tree2.cpp:490:36: error: with 'std::istream& std::tree::operator>>(std::tree::VTREE_LEAVESI&)' std::istream& /*tree::*/operator>>(/*std::istream& i, */VTREE_LEAVESI& vi) { ^ tree2.cpp:533:37: error: 'std::ofstream& std::tree::operator<<(std::tree::VTREE_LEAVESI&)' cannot be overloaded std::ofstream& /*tree::*/operator<<(/*std::ofstream& fo, */VTREE_LEAVESI& vi) { ^ tree2.cpp:504:36: error: with 'std::ostream& std::tree::operator<<(std::tree::VTREE_LEAVESI&)' std::ostream& /*tree::*/operator<<(/*std::ostream& o, */VTREE_LEAVESI& vi) { tree2.cpp: In member function 'std::istream& std::tree::operator>>(std::tree::VTREE_LEAVESI&)': tree2.cpp:492:11: error: no match for 'operator>>' (operand types are 'std::istream {aka std::basic_istream}' and 'const char [2]') i>>"[">>vi->rootNode>>":"; ^ ^ std::istream& /*tree::*/operator>>(/*std::istream& i, */VTREE_LEAVESI& vi) { std::istream i=*this; i>>"[">>vi->rootNode>>":"; I don't want my source being put into the GNU bugtracker. function headers from the errors are OK to send. operator>> and operator<< should allow inclusion of at least 1 extra parameter like std::ofstream& fo - Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com http://www.RenewalComputerServices.com http://www.JesusnJim.com (computer repair info, programming) From: lh_mouse <lh_mo...@126.com> To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net> Sent: Thursday, March 31, 2016 10:04 AM Subject: Re: [Mingw-w64-public] improper errors on what should be valid code syntax I have no idea what you are trying to do by putting stuff into the namespace std. Again, you should attach your source file and let me have a look. -- Best regards, lh_mouse 2016-04-01 - 发件人:Jim Michaels <jmich...@yahoo.com> 发送日期:2016-04-01 01:00 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] improper errors on what should be valid code syntax excuse me again. the compiler has been thrown into some strange state where it's wildly tossing errors. I don't know what caused it. first error was overloading not allowed for at. probably at and erase for #3. #3.1 didn't change anything, but I changed T to _T. 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined meaning what? how would I specifically use "this"? thanks for the tips. namespace std { template class tree {//outline or N-ary Tree From: lh_mouse <lh_mo...@126.com> To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net> Sent: Thursday, March 31, 2016 9:37 AM Subject: Re: [Mingw-w64-public] improper errors on what should be valid code syntax Your code is NOT valid. You are using the reserved identifier '_T'. Your code results in undefined behavior. Attach the source file and let us see how to fix it. WG21 (ISO/IEC C++) N4582 2.10 Identifiers [lex.name] 3 In addition, some identifiers are reserved for use by C++ implementations and shall not be used otherwise; no diagnostic is required. (3.1) — Each identifier that contains a double underscore __ or begins with an underscore followed by an uppercase letter is reserved to the implementation for any use. (3.2) — Each identifier that begins with an underscore is reserved to the implementation for use as a name in the global namespace. 17.6.4.3 Reserved names [reserved.names] 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined. -- Best regards, lh_mouse 2016-04-01 - 发件人:Jim Michaels <jmich...@yahoo.com> 发送日期:2016-04-01 00:30 收件人:mingw64 users 抄送: 主题:[Mingw-w64-public] improper e
Re: [Mingw-w64-public] improper errors on what should be valid code syntax
excuse me again. the compiler has been thrown into some strange state where it's wildly tossing errors. I don't know what caused it. first error was overloading not allowed for at. probably at and erase for #3. #3.1 didn't change anything, but I changed T to _T. 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined meaning what? how would I specifically use "this"? thanks for the tips. namespace std { template class tree {//outline or N-ary Tree From: lh_mouse <lh_mo...@126.com> To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net> Sent: Thursday, March 31, 2016 9:37 AM Subject: Re: [Mingw-w64-public] improper errors on what should be valid code syntax Your code is NOT valid. You are using the reserved identifier '_T'. Your code results in undefined behavior. Attach the source file and let us see how to fix it. WG21 (ISO/IEC C++) N4582 2.10 Identifiers [lex.name] 3 In addition, some identifiers are reserved for use by C++ implementations and shall not be used otherwise; no diagnostic is required. (3.1) — Each identifier that contains a double underscore __ or begins with an underscore followed by an uppercase letter is reserved to the implementation for any use. (3.2) — Each identifier that begins with an underscore is reserved to the implementation for use as a name in the global namespace. 17.6.4.3 Reserved names [reserved.names] 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined. -- Best regards, lh_mouse 2016-04-01 ----- 发件人:Jim Michaels <jmich...@yahoo.com> 发送日期:2016-04-01 00:30 收件人:mingw64 users 抄送: 主题:[Mingw-w64-public] improper errors on what should be valid code syntax c:\jim\tree>g++ -std=c++11 -W -Wall -otree2.o tree2.cpp 2>tree2.err.txt c:\jim\tree>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --prefix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5 -win32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disab le-gcov-tool --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160318 (GCC) c:\jim\tree> tree2.cpp:121:19: error: 'std::tree<_T>& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' cannot be overloaded tree<_T>& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp:100:24: error: with 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' VTREE_LEAVESI& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp: In member function 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::linearAddress(std::tree<_T>::VTREE_LEAVEST&)': tree2.cpp:203:47: error: 'indices' was not declared in this scope } else if (0!=leaves.size() && 0==indices.size()) { ^ tree2.cpp: At global scope: tree2.cpp:248:12: error: expected initializer before 'operator' _T operator[](VTREE_LEAVEST& index) { ^ tree2.cpp:274:15: error: expected constructor, destructor, or type conversion before '(' token insert(VTREE_LEAVESI& iInsertionPoint, S_TREE_LEAVES& iTreeNode) { ^ tree2.cpp:279:20: error: variable or field 'erase' declared void void erase(VTREE_LEAVESI& iTreeNodeFrom, VTREE_LEAVESI& iTreeNodeToNotIncluding) { ^ -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Accelera
Re: [Mingw-w64-public] improper errors on what should be valid code syntax
excuse me - namespace std {class tree<_T> {...}} ----- Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com http://www.RenewalComputerServices.com http://www.JesusnJim.com (computer repair info, programming) From: lh_mouse <lh_mo...@126.com> To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net> Sent: Thursday, March 31, 2016 9:37 AM Subject: Re: [Mingw-w64-public] improper errors on what should be valid code syntax Your code is NOT valid. You are using the reserved identifier '_T'. Your code results in undefined behavior. Attach the source file and let us see how to fix it. WG21 (ISO/IEC C++) N4582 2.10 Identifiers [lex.name] 3 In addition, some identifiers are reserved for use by C++ implementations and shall not be used otherwise; no diagnostic is required. (3.1) — Each identifier that contains a double underscore __ or begins with an underscore followed by an uppercase letter is reserved to the implementation for any use. (3.2) — Each identifier that begins with an underscore is reserved to the implementation for use as a name in the global namespace. 17.6.4.3 Reserved names [reserved.names] 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined. -- Best regards, lh_mouse 2016-04-01 --------- 发件人:Jim Michaels <jmich...@yahoo.com> 发送日期:2016-04-01 00:30 收件人:mingw64 users 抄送: 主题:[Mingw-w64-public] improper errors on what should be valid code syntax c:\jim\tree>g++ -std=c++11 -W -Wall -otree2.o tree2.cpp 2>tree2.err.txt c:\jim\tree>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --prefix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5 -win32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disab le-gcov-tool --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160318 (GCC) c:\jim\tree> tree2.cpp:121:19: error: 'std::tree<_T>& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' cannot be overloaded tree<_T>& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp:100:24: error: with 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' VTREE_LEAVESI& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp: In member function 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::linearAddress(std::tree<_T>::VTREE_LEAVEST&)': tree2.cpp:203:47: error: 'indices' was not declared in this scope } else if (0!=leaves.size() && 0==indices.size()) { ^ tree2.cpp: At global scope: tree2.cpp:248:12: error: expected initializer before 'operator' _T operator[](VTREE_LEAVEST& index) { ^ tree2.cpp:274:15: error: expected constructor, destructor, or type conversion before '(' token insert(VTREE_LEAVESI& iInsertionPoint, S_TREE_LEAVES& iTreeNode) { ^ tree2.cpp:279:20: error: variable or field 'erase' declared void void erase(VTREE_LEAVESI& iTreeNodeFrom, VTREE_LEAVESI& iTreeNodeToNotIncluding) { ^ -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] improper errors on what should be valid code syntax
it's in a template. _T is the parameterized type. as in tree<_T> ----- Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com http://www.RenewalComputerServices.com http://www.JesusnJim.com (computer repair info, programming) From: lh_mouse <lh_mo...@126.com> To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net> Sent: Thursday, March 31, 2016 9:37 AM Subject: Re: [Mingw-w64-public] improper errors on what should be valid code syntax Your code is NOT valid. You are using the reserved identifier '_T'. Your code results in undefined behavior. Attach the source file and let us see how to fix it. WG21 (ISO/IEC C++) N4582 2.10 Identifiers [lex.name] 3 In addition, some identifiers are reserved for use by C++ implementations and shall not be used otherwise; no diagnostic is required. (3.1) — Each identifier that contains a double underscore __ or begins with an underscore followed by an uppercase letter is reserved to the implementation for any use. (3.2) — Each identifier that begins with an underscore is reserved to the implementation for use as a name in the global namespace. 17.6.4.3 Reserved names [reserved.names] 2 If a program declares or defines a name in a context where it is reserved, other than as explicitly allowed by this Clause, its behavior is undefined. -- Best regards, lh_mouse 2016-04-01 --------- 发件人:Jim Michaels <jmich...@yahoo.com> 发送日期:2016-04-01 00:30 收件人:mingw64 users 抄送: 主题:[Mingw-w64-public] improper errors on what should be valid code syntax c:\jim\tree>g++ -std=c++11 -W -Wall -otree2.o tree2.cpp 2>tree2.err.txt c:\jim\tree>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --prefix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5 -win32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disab le-gcov-tool --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160318 (GCC) c:\jim\tree> tree2.cpp:121:19: error: 'std::tree<_T>& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' cannot be overloaded tree<_T>& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp:100:24: error: with 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' VTREE_LEAVESI& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp: In member function 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::linearAddress(std::tree<_T>::VTREE_LEAVEST&)': tree2.cpp:203:47: error: 'indices' was not declared in this scope } else if (0!=leaves.size() && 0==indices.size()) { ^ tree2.cpp: At global scope: tree2.cpp:248:12: error: expected initializer before 'operator' _T operator[](VTREE_LEAVEST& index) { ^ tree2.cpp:274:15: error: expected constructor, destructor, or type conversion before '(' token insert(VTREE_LEAVESI& iInsertionPoint, S_TREE_LEAVES& iTreeNode) { ^ tree2.cpp:279:20: error: variable or field 'erase' declared void void erase(VTREE_LEAVESI& iTreeNodeFrom, VTREE_LEAVESI& iTreeNodeToNotIncluding) { ^ -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] improper errors on what should be valid code syntax
c:\jim\tree>g++ -std=c++11 -W -Wall -otree2.o tree2.cpp 2>tree2.err.txt c:\jim\tree>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --prefix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5 -win32 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --disab le-gcov-tool --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160318 (GCC) c:\jim\tree> tree2.cpp:121:19: error: 'std::tree<_T>& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' cannot be overloaded tree<_T>& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp:100:24: error: with 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::at(std::tree<_T>::VTREE_LEAVESI, std::tree<_T>::VTREE_LEAVEST&)' VTREE_LEAVESI& at(VTREE_LEAVESI iCurNode, VTREE_LEAVEST& indices) {//by iterator - no recursion needed ^ tree2.cpp: In member function 'std::tree<_T>::VTREE_LEAVESI& std::tree<_T>::linearAddress(std::tree<_T>::VTREE_LEAVEST&)': tree2.cpp:203:47: error: 'indices' was not declared in this scope } else if (0!=leaves.size() && 0==indices.size()) { ^ tree2.cpp: At global scope: tree2.cpp:248:12: error: expected initializer before 'operator' _T operator[](VTREE_LEAVEST& index) { ^ tree2.cpp:274:15: error: expected constructor, destructor, or type conversion before '(' token insert(VTREE_LEAVESI& iInsertionPoint, S_TREE_LEAVES& iTreeNode) { ^ tree2.cpp:279:20: error: variable or field 'erase' declared void void erase(VTREE_LEAVESI& iTreeNodeFrom, VTREE_LEAVESI& iTreeNodeToNotIncluding) { ^ - Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com http://www.RenewalComputerServices.com http://www.JesusnJim.com (computer repair info, programming) -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140 ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] problem in 5.3.1 with fstream, use of ifstream, ofstream cause compile error
oops - my bad, forgot the std:: in front. (why do I miss that on a regular basis?) but I do have another problem, I have code that looks perfect to me, and it crashes on run. it should not crash. but I get an access violation. error code is 0xc005 as seen in eventvwr.exe's windows/application log. the code is too big to paste here without someone getting riled. I am going to try to narrow it down. - Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com http://www.RenewalComputerServices.com http://www.JesusnJim.com (computer repair info, programming) From: Mateusz <mateu...@poczta.onet.pl> To: mingw-w64-public@lists.sourceforge.net Sent: Saturday, March 26, 2016 10:26 AM Subject: Re: [Mingw-w64-public] problem in 5.3.1 with fstream, use of ifstream, ofstream cause compile error It's related to commit [ca451a] Handle __CTOR_LIST__ internally within mingw-w64. Now this commit is reverted and everything is working. Please update yours compilers to versions 20160318: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/dongsheng-daily/5.x/gcc-5-win64_5.3.1-20160318.7z/download https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/dongsheng-daily/6.x/gcc-6-win64_6.0.0-20160318.7z/download W dniu 2016-03-26 o 17:07, Jim Michaels pisze: problem in 5.3.1 with , , , use of std::ifstream, std::ofstream cause compile errors. and as 6.0 and its errors go, I have no completely working compiler. help. C:\jim\KBIB_KJ1>g++ -v -s -o KBIB_KJ1to5toBible_txt.exe -O4 -std=c++11 -lstdlib -W -Wall KBIB_KJ1to5toBible_txt.cpp Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto -wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --pref ix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5-win3 2 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-min gw32 --disable-multilib --disable-nls --disable-win32-registry --disable-gcov-to ol --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dyn amic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160301 (GCC) COLLECT_GCC_OPTIONS='-v' '-s' '-o' 'KBIB_KJ1to5toBible_txt.exe' '-O4' '-std=c++1 1' '-Wextra' '-Wall' '-shared-libgcc' '-mtune=generic' '-march=core2' c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/cc1plus.exe -quiet -v -iprefix c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/ -isysroot c:\gcc- 5-win32\bin\../../gcc-5-win32 -U_REENTRANT KBIB_KJ1to5toBible_txt.cpp -quiet -du mpbase KBIB_KJ1to5toBible_txt.cpp -mtune=generic -march=core2 -auxbase KBIB_KJ1t o5toBible_txt -O4 -Wextra -Wall -std=c++11 -version -o C:\Users\Kristina\AppData \Local\Temp\cc0XLJ6n.s GNU C++11 (GCC) version 5.3.1 20160301 (i686-w64-mingw32) compiled by GNU C version 5.3.1 20160301, GMP version 6.1.0, MPFR versio n 3.1.3-p5, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../include/c++/5.3.1" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../include/c++/5.3.1/i686-w64-mingw32" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../include/c++/5.3.1/backward" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/include" ignoring nonexistent directory "c:\gcc-5-win32\bin\../../gcc-5-win32/home/cauchy /native/gcc-5-win32/lib/gcc/i686-w64-mingw32/5.3.1/../../../../include" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/include-fixed" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../i686-w64-mingw32/include" ignoring nonexistent directory "c:\gcc-5-win32\bin\../../gcc-5-win32/mingw/inclu de" #include "..." search starts here: #include <...> search starts here: c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../include/c++/5. 3.1 c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../include/c++/5. 3.1/i686-w64-mingw32 c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../include/c++/5. 3.1/backward c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/include c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/include-fixed c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../i686-w64-mingw 32/include End of search list. GNU C++11 (GCC) version 5.3.1 20160301 (i686-w64-mingw32)
[Mingw-w64-public] problem in 5.3.1 with fstream, use of ifstream, ofstream cause compile error
problem in 5.3.1 with , , , use of std::ifstream, std::ofstream cause compile errors.and as 6.0 and its errors go, I have no completely working compiler. help. C:\jim\KBIB_KJ1>g++ -v -s -o KBIB_KJ1to5toBible_txt.exe -O4 -std=c++11 -lstdlib -W -Wall KBIB_KJ1to5toBible_txt.cpp Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/lto -wrapper.exe Target: i686-w64-mingw32 Configured with: /home/cauchy/vcs/svn/gcc/branches/gcc-5-branch/configure --pref ix=/home/cauchy/native/gcc-5-win32 --with-sysroot=/home/cauchy/native/gcc-5-win3 2 --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-min gw32 --disable-multilib --disable-nls --disable-win32-registry --disable-gcov-to ol --enable-checking=release --enable-languages=c,c++,fortran --enable-fully-dyn amic-string --with-arch=core2 --with-tune=generic Thread model: win32 gcc version 5.3.1 20160301 (GCC) COLLECT_GCC_OPTIONS='-v' '-s' '-o' 'KBIB_KJ1to5toBible_txt.exe' '-O4' '-std=c++1 1' '-Wextra' '-Wall' '-shared-libgcc' '-mtune=generic' '-march=core2' c:/gcc-5-win32/bin/../libexec/gcc/i686-w64-mingw32/5.3.1/cc1plus.exe -quiet -v -iprefix c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/ -isysroot c:\gcc- 5-win32\bin\../../gcc-5-win32 -U_REENTRANT KBIB_KJ1to5toBible_txt.cpp -quiet -du mpbase KBIB_KJ1to5toBible_txt.cpp -mtune=generic -march=core2 -auxbase KBIB_KJ1t o5toBible_txt -O4 -Wextra -Wall -std=c++11 -version -o C:\Users\Kristina\AppData \Local\Temp\cc0XLJ6n.s GNU C++11 (GCC) version 5.3.1 20160301 (i686-w64-mingw32) compiled by GNU C version 5.3.1 20160301, GMP version 6.1.0, MPFR versio n 3.1.3-p5, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../include/c++/5.3.1" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../include/c++/5.3.1/i686-w64-mingw32" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../include/c++/5.3.1/backward" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/include" ignoring nonexistent directory "c:\gcc-5-win32\bin\../../gcc-5-win32/home/cauchy /native/gcc-5-win32/lib/gcc/i686-w64-mingw32/5.3.1/../../../../include" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/include-fixed" ignoring duplicate directory "c:/gcc-5-win32/lib/gcc/../../lib/gcc/i686-w64-ming w32/5.3.1/../../../../i686-w64-mingw32/include" ignoring nonexistent directory "c:\gcc-5-win32\bin\../../gcc-5-win32/mingw/inclu de" #include "..." search starts here: #include <...> search starts here: c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../include/c++/5. 3.1 c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../include/c++/5. 3.1/i686-w64-mingw32 c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../include/c++/5. 3.1/backward c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/include c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/include-fixed c:\gcc-5-win32\bin\../lib/gcc/i686-w64-mingw32/5.3.1/../../../../i686-w64-mingw 32/include End of search list. GNU C++11 (GCC) version 5.3.1 20160301 (i686-w64-mingw32) compiled by GNU C version 5.3.1 20160301, GMP version 6.1.0, MPFR versio n 3.1.3-p5, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 0601085ae72d1dd599a3fd803d942dc0 KBIB_KJ1to5toBible_txt.cpp:15:20: fatal error: ifstream: No such file or directo ry compilation terminated. - Jim Michaels<jmich...@yahoo.com> j...@renewalcomputerservices.com http://www.RenewalComputerServices.com http://www.JesusnJim.com (computer repair info, programming) -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] 1MiB variable size limit in dongsheng daily gcc-5.0-win64_5.0.0-20141105
1MiB variable size limit in dongsheng daily gcc-5.0-win64_5.0.0-20141105did this get fixed? for example the standard c++ string library. I need it much larger.one of the things I might do is put a whole file content into a string to process. I have plenty of RAM and Virtual Memory to work with. just out of curiosity, will mingw-w64 work with Virtual Memory?I seem to find that a lot of windows stuff won't use it in win7 (maybe that got fixed a while back). -Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming)-- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] automated builds
can you explain why the automated builds targeting win64cygwin has i686 target files in it?https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/ - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] how to turn off file globbing in 5.0.0?
how do I turn off file globbing in 5.0.0? seems like the method changes with time. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] why isn't UINT64_MAX usable when countdown reaches past 0 to -1?
pos on right hand size should have been i...found the bug shortly after posting. thanks. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: David Macek david.mace...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Friday, December 19, 2014 11:52 AM Subject: Re: [Mingw-w64-public] why isn't UINT64_MAX usable when countdown reaches past 0 to -1? On 18. 12. 2014 21:35, Jim Michaels wrote: dongshengdaily 5.0.0 20141105 #if defined(_WIN64) for (i=src.size()-1-findStr.size(); i=pos pos!=UINT64_MAX; i--) { #else for (i=src.size()-1-findStr.size(); i=pos pos!=UINT32_MAX; i--) { #endif std::cerri=i, findStrSizeDiv2=findStrSizeDiv2, findStrSizeMod2=findStrSizeMod2std::endl; i=0, findStrSizeDiv2=3, findStrSizeMod2=1 j=0, srcNarrowingRHS=0, srcNarrowingLHS=18446744073709551611, fsNarrowingRHS=6, fsNa HS]=ÿ, src[srcNarrowingRHS]=g i=18446744073709551615, findStrSizeDiv2=3, findStrSizeMod2=1 j=0, srcNarrowingRHS=18446744073709551615, srcNarrowingLHS=18446744073709551610, fsN , src[srcNarrowingLHS]=ÿ, src[srcNarrowingRHS]=... notice i. the loop didn't stop. I corrected the improper value for UINT64_MAX, but this did not fix the problem. You are only comparing pos with UINTxx_MAX, not i. If pos is 0, then the loop won't stop. -- David Macek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] dongsheng 5.0.0 20141215 missing algorithm
not sure what else is missing. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] dongdheng 20141215 seriously gutted
there is like all of 5 header files in the include dir. not sure what's going on. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] UINT64_MAX in stdint.h has 1 too few f's, bits/c++config.h missing
my program has a forever loop because of in invalid value in this. stdint.h line 89#define UINT64_MAX 0xULL /* 18446744073709551615ULL */ bits/c++config.h is also missing. dongsheng daily 5.0.0 20141105 - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int
no, strangely enough, https://support.microsoft.com/kb/259693?wa=wsignin1.0 using the code idea for FORMAT_MESSAGE_ARGUMENT_ARRAY:http://msdn.microsoft.com/en-us/library/windows/desktop/ms679351%28v=vs.85%29.aspx it says va_list in this case is a * to array of DWORD_PTR. so what exactly is a DWORD_PTR? I had assumed it was a pointer, that you need to cast, and microsoft somehow did a sloppy or erroneous job of documenting or something. because in the past, _PTR has always been defined as a * (pointer) to whatever, like DWORD*. who changed the definition of the word pointer? :-( in c++ it's a nice and solid def. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: David Macek david.mace...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Tuesday, December 16, 2014 4:46 PM Subject: Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int On 16. 12. 2014 13:19, Ruben Van Boxem wrote: 2014-12-16 9:56 GMT+01:00 Jim Michaels jmich...@yahoo.com mailto:jmich...@yahoo.com: usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long unsigned int. winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long unsigned int*}' to 'DWORD_PTR {aka long long unsigned int}' [-fpermissive] DWORD_PTR *dwpArray; dwpArray=(DWORD_PTR*)new DWORD_PTR[argc+1]; Please see this link for the definitions of all Windows types: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751.aspx I think PDWORD (and other P-types) is what you're looking for. -- David Macek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] why isn't UINT64_MAX usable when countdown reaches past 0 to -1?
dongshengdaily 5.0.0 20141105 #if defined(_WIN64) for (i=src.size()-1-findStr.size(); i=pos pos!=UINT64_MAX; i--) { #else for (i=src.size()-1-findStr.size(); i=pos pos!=UINT32_MAX; i--) { #endif std::cerri=i, findStrSizeDiv2=findStrSizeDiv2, findStrSizeMod2=findStrSizeMod2std::endl; i=0, findStrSizeDiv2=3, findStrSizeMod2=1 j=0, srcNarrowingRHS=0, srcNarrowingLHS=18446744073709551611, fsNarrowingRHS=6, fsNa HS]=ÿ, src[srcNarrowingRHS]=g i=18446744073709551615, findStrSizeDiv2=3, findStrSizeMod2=1 j=0, srcNarrowingRHS=18446744073709551615, srcNarrowingLHS=18446744073709551610, fsN , src[srcNarrowingLHS]=ÿ, src[srcNarrowingRHS]=... notice i. the loop didn't stop. I corrected the improper value for UINT64_MAX, but this did not fix the problem. help. - I want a stable version with the latest c++ features. I had assumed the personal builds were such. - norton 360 removes the official pack mule build upon execution because of Sonar.Heuristic.120. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] DWORD_PTR implemented as long long unsigned int
usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long unsigned int.winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long unsigned int*}' to 'DWORD_PTR {aka long long unsigned int}' [-fpermissive] DWORD_PTR *dwpArray; dwpArray=(DWORD_PTR*)new DWORD_PTR[argc+1]; dongsheng daily 20141105 - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] any reason why stack overflow just calling plain function?
it's when I do: char line[LINEBUFSIZE]; where LINEBUFSIZE is 8388608 - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: David Macek david.mace...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Sunday, December 14, 2014 9:51 AM Subject: Re: [Mingw-w64-public] any reason why stack overflow just calling plain function? On 14. 12. 2014 1:11, Jim Michaels wrote: 1st line of function is std::cerrsometextstd::endl but it never gets executed, I get stack overflow crash before this gets shown. why is this? Can you post a compilable small example that still crashes (http://sscce.org/)? (Preferably not inside an email, but onto a paste site.) As to the reason of the error, do you allocate a big array somewhere in the function? -- David Macek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] any reason why stack overflow just calling plain function?
apparently the line is executing, it's hanging somewhere else farther down, but the line isn't displaying (why? do I need to flush iostream?) - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: David Macek david.mace...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Sunday, December 14, 2014 9:51 AM Subject: Re: [Mingw-w64-public] any reason why stack overflow just calling plain function? On 14. 12. 2014 1:11, Jim Michaels wrote: 1st line of function is std::cerrsometextstd::endl but it never gets executed, I get stack overflow crash before this gets shown. why is this? Can you post a compilable small example that still crashes (http://sscce.org/)? (Preferably not inside an email, but onto a paste site.) As to the reason of the error, do you allocate a big array somewhere in the function? -- David Macek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] any reason why stack overflow just calling plain function?
4194304 and 8388608 cause a problem, but 1048576 does not. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: David Macek david.mace...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Sunday, December 14, 2014 9:51 AM Subject: Re: [Mingw-w64-public] any reason why stack overflow just calling plain function? On 14. 12. 2014 1:11, Jim Michaels wrote: 1st line of function is std::cerrsometextstd::endl but it never gets executed, I get stack overflow crash before this gets shown. why is this? Can you post a compilable small example that still crashes (http://sscce.org/)? (Preferably not inside an email, but onto a paste site.) As to the reason of the error, do you allocate a big array somewhere in the function? -- David Macek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] any reason why stack overflow just calling plain function?
::string(\\EGREPSED_TEMP_FILE.); tempFilepath=tempMatch+sRandom; displayMode=SHOW_FILEPATH; sSearchPatterns={libtool,test.cpp}; hasSearch=( 0 != sSearchPatterns.size() || 0 != siSearchPatterns.size() || 0 != srSearchPatterns.size() || 0 != sriSearchPatterns.size() ); hasReplace=( 0 != sReplacePatterns.size() || 0 != siReplacePatterns.size() || 0 != srReplacePatterns.size() || 0 != sriReplacePatterns.size() ); std::couthasSearch=hasSearch,hasReplace=hasReplacestd::endl; processFilepath(d:\\prj\\_bhist); return 0; } - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: David Macek david.mace...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Sunday, December 14, 2014 9:51 AM Subject: Re: [Mingw-w64-public] any reason why stack overflow just calling plain function? On 14. 12. 2014 1:11, Jim Michaels wrote: 1st line of function is std::cerrsometextstd::endl but it never gets executed, I get stack overflow crash before this gets shown. why is this? Can you post a compilable small example that still crashes (http://sscce.org/)? (Preferably not inside an email, but onto a paste site.) As to the reason of the error, do you allocate a big array somewhere in the function? -- David Macek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] windows 32 bit memory address space
wait - shouldn't --large-address-aware be more than 4GiB? I thought there was a mode where you could get nice flat address space. that's just too small for some of my programs. the g++ won't even compile them because the functions are too large. =:-O - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: Rashad M mohammedrasha...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Monday, December 15, 2014 3:37 PM Subject: Re: [Mingw-w64-public] windows 32 bit memory address space Hello, On Tue, Oct 28, 2014 at 3:54 AM, Rashad M mohammedrasha...@gmail.com wrote: On Tue, Oct 28, 2014 at 12:51 AM, Kai Tietz ktiet...@googlemail.com wrote: Hi Rashad, 2014-10-27 20:13 GMT+01:00 Pavel pa...@pamsoft.cz: Hi Rashad, I believe this is given by the 32 bit implementation of Win32 API (surprisingly, the API on 64bit systems is also called Win32, but is implemented as 64bit). The system simply does not allow you to allocate more memory. It even looks like the 3GB option (4GT) is maybe not supported on Windows Vista/7/8 at all. Some interesting info can be found in this thread: http://www.sevenforums.com/general-discussion/114715-4-gigabyte-tunning-windows-7-ultimate-32-bit.html some other info related to pre-Vista systems is here: http://technet.microsoft.com/en-us/library/cc786709(v=WS.10).aspx Well, clearly - the answer is: if you want to allocate more than 2GB of memory, use 64bit application. Pavel That's not quite true ;) Even if it sounds easy Hi Kai, Thanks for reply. On 32-bit OSes --large-address-aware has an effect of enabling up to 3 GB of memory for a process, if all used DLL having this flag set too, all used DLL means from binuilts or gcc ? sorry to bother again, but I am stick stuck on this part. how to add this option? I knew its a linker flag but from where do I start adding this? ld.exe,gcc.exe or just my application ? and the boot-options of the OS have special option. Not recalling its exact name, but IIRC it was /4GB or something like that. Google will tell you by searching for large address aware ... I tried that too but didn't work On 64-bit the picture is different, as here this flag has indeed an effect even without addng boot-option. Here a 32-bit process can get up to 4GB of usable process-space. On 64bit even without any special flags and less RAM 3GB my code is working. The page says that supported OS are XP and 2003 Server. why --large-address-aware linker option is not helpful. Can anyone explain this? See for more details on msdn links like http://msdn.microsoft.com/en-us/library/windows/desktop/bb613473%28v=vs.85%29.aspx Regards, Kai -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Regards, Rashad -- Regards, Rashad -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] ntstatus.h missing from dongsheng daily
ntstatus.h missing from dongsheng daily. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] any reason why stack overflow just calling plain function?
1st line of function is std::cerrsometextstd::endlbut it never gets executed, I get stack overflow crash before this gets shown. why is this? 20141105 dongsheng daily lines up to the function call are basically: displayMode=SHOW_FILEPATH; #if defined(DEBUG) std::cerr1; #endif tempDir=getEnvString(envp, TEMP); #if defined(DEBUG) std::cerr2; #endif sRandom=getEnvString(envp, RANDOM); #if defined(DEBUG) std::cerr3; #endif //check that this file is not being processed by this program as an argument! tempMatch=tempDir+std::string(\\EGREPSED_TEMP_FILE.); tempFilepath=tempMatch+sRandom; displayMode=SHOW_FILEPATH; sSearchPatterns={libtool,test.cpp}; hasSearch=( 0 != sSearchPatterns.size() || 0 != siSearchPatterns.size() || 0 != srSearchPatterns.size() || 0 != sriSearchPatterns.size() ); hasReplace=( 0 != sReplacePatterns.size() || 0 != siReplacePatterns.size() || 0 != srReplacePatterns.size() || 0 != sriReplacePatterns.size() ); std::couthasSearch=hasSearch,hasReplace=hasReplacestd::endl; processFilepath(d:\\prj\\_bhist); and that's where it dies. bool processFilepath(std::string filepath) { //with a file, we can rescan. with cin and cout, we can't. //rescan takes only 2x as long for matched filepaths, so it's not like it's going to be every file in the computer. std::cerrprocessFilepath(filepath)std::endl; //never gets here std::fstream fo; bool matchFound=false; ... - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] post-crash analysis using ms mini-crashdumps?
Fault bucket 90527071, type 20 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: list-search-bars.exe P2: 0.0.0.0 P3: 4e5a5f2e P4: libstdc++-6.dll P5: 0.0.0.0 P6: 6fd3d060 P7: 4015 P8: 00022f7a P9: P10: Attached files: C:\Users\Jim-Michaels\AppData\Local\Temp\WER7718.tmp.WERInternalMetadata.xml These files may be available here: C:\Users\Jim-Michaels\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_list-search-bars_8caccc8eb4a3c587e326a9b396e6de3e76e06a21_2fdbfe61 Analysis symbol: Rechecking for solution: 0 Report Id: aee50e70-8234-11e4-a8cd-dc85de2605ca in my .map file I have: 0x00422f00 __mingw_TLScallback .text 0x00422fe0 0x40 d:/gcc-5.0-win64_5.0.0-20141105/gcc-5.0-win64/bin/../lib/gcc/x86_64-w64-mingw32/5.0.0/libgcc.a(_chkstk_ms.o) is this perhaps related to fault bucket type 20?http://msdn.microsoft.com/en-us/library/ff557421.aspxsomehow, this doesn't look like it fits. according to what I am seeing, the thread local storage callback MAY be the cause? dongsheng daily 20141105 personal build. I have not been (or wanted to) get gdb to work as of yet. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] MinGW LGPL licensed, header-only std::thread implementation
I have an interest. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: Óscar Fuentes o...@wanadoo.es To: mingw-w64-public@lists.sourceforge.net Sent: Thursday, December 11, 2014 12:17 PM Subject: Re: [Mingw-w64-public] MinGW LGPL licensed, header-only std::thread implementation Ruben Van Boxem vanboxem.ru...@gmail.com writes: I'd like to draw your attention to a std::thread implementation written without pthreads. It seems quite lightweight, and almost too small to be fully compliant. If it is at all useful or even completely/nearly bug-free, perhaps it would be worth getting this into GCC/libstdc++ mainline, because well, it's not that biig really. Not sure how a win32 specific code dump would pass by libstdc++ people (they're very, very unfriendly to platform specific code due to maintenance). Anyways, here it is: https://github.com/meganz/mingw-std-threads Interesting. It is LGPL'ed. Dunno what that implies for a header-only library, but I guess that you are under the obligation of distributing it along with your executables (by default or upon request) or at least to put a notice mentioning that the executable contains LGPL'ed code. If this is true, it is not acceptable for MinGW(-w64). But maybe the author is willing to change the license if there is enough interest on his work. Having to use the pthreads emulation layer for C++11 compliance is a wart on MinGW-w64's face. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] MSYS2 is violating the GPL again
binaries? - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Wednesday, December 10, 2014 12:09 AM Subject: Re: [Mingw-w64-public] MSYS2 is violating the GPL again 2014-12-08 19:32 GMT+01:00 Jim Michaels jmich...@yahoo.com: is this msys2 something that applies to mingw-w64? should I be using this instead of https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/ ? That is a ridiculously outdated all-in-one MSYS package from way back when. You should really try MSYS2, it's a lot better in pretty much all aspects. Ruben - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: Alexpux alex...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Monday, December 8, 2014 3:01 AM Subject: Re: [Mingw-w64-public] MSYS2 is violating the GPL again 8 дек. 2014 г., в 13:48, Corinna Vinschen vinsc...@redhat.com написал(а): Hi, I just had a look on the MSYS2 pages at sourceforge. It turned out that the Cygwin sources provided on sourceforge, http://sourceforge.net/projects/msys2/files/REPOS/MSYS2/Sources/msys2-runtime-2.0.15816.7257e97-1.src.tar.gz/download are very old, from 2014-02-02, while the latest binary packages, for instance http://sourceforge.net/projects/msys2/files/REPOS/MSYS2/x86_64/msys2-runtime-2.0.16430.e868fe8-1-x86_64.pkg.tar.xz/download corresponds to the latest Cygwin source code from 2014-12-06. The corresponding source repository at http://sourceforge.net/p/msys2/code/ci/master/tree/ is even older, with the latest sources from late 2013. I’m use github as primary source for building packages:https://github.com/Alexpux/Cygwin/tree/Cygwin PKGBILD:https://github.com/Alexpux/MSYS2-packages/blob/master/msys2-runtime/PKGBUILD#L26 Will update sf.net repo today. And this is only for Cygwin. The situation of the other upstream packages isn't better. About half of the binary packages are younger than 6 month, while the latest source archives have been updated 2014-06-11. You're violating the GPL again in a pretty big style. Yes, not all of the affected packages are GPLed, but a lot are. What is so complicated to keep the sources up to date with the binary packages? I’m provide git repository with build scripts and patches that applies to sources:For mingw:https://github.com/Alexpux/MINGW-packages For msys2:https://github.com/Alexpux/MSYS2-packages Regards,Alexey. Please fix this ASAP. Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your
Re: [Mingw-w64-public] MSYS2 is violating the GPL again
is this msys2 something that applies to mingw-w64? should I be using this instead of https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/ ? - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) From: Alexpux alex...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Monday, December 8, 2014 3:01 AM Subject: Re: [Mingw-w64-public] MSYS2 is violating the GPL again 8 дек. 2014 г., в 13:48, Corinna Vinschen vinsc...@redhat.com написал(а): Hi, I just had a look on the MSYS2 pages at sourceforge. It turned out that the Cygwin sources provided on sourceforge, http://sourceforge.net/projects/msys2/files/REPOS/MSYS2/Sources/msys2-runtime-2.0.15816.7257e97-1.src.tar.gz/download are very old, from 2014-02-02, while the latest binary packages, for instance http://sourceforge.net/projects/msys2/files/REPOS/MSYS2/x86_64/msys2-runtime-2.0.16430.e868fe8-1-x86_64.pkg.tar.xz/download corresponds to the latest Cygwin source code from 2014-12-06. The corresponding source repository at http://sourceforge.net/p/msys2/code/ci/master/tree/ is even older, with the latest sources from late 2013. I’m use github as primary source for building packages:https://github.com/Alexpux/Cygwin/tree/Cygwin PKGBILD:https://github.com/Alexpux/MSYS2-packages/blob/master/msys2-runtime/PKGBUILD#L26 Will update sf.net repo today. And this is only for Cygwin. The situation of the other upstream packages isn't better. About half of the binary packages are younger than 6 month, while the latest source archives have been updated 2014-06-11. You're violating the GPL again in a pretty big style. Yes, not all of the affected packages are GPLed, but a lot are. What is so complicated to keep the sources up to date with the binary packages? I’m provide git repository with build scripts and patches that applies to sources:For mingw:https://github.com/Alexpux/MINGW-packages For msys2:https://github.com/Alexpux/MSYS2-packages Regards,Alexey. Please fix this ASAP. Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] multi-target MSYS patch available
https://sourceforge.net/p/mingw-w64/patches/71/ is pi.sh is required to work with mingw, please let me know and I will see about finishing my changes to it. I was enhancing it (though it's not used with mingw-w64). I think I lost a fair amount of changes during a forced reboot process to pi.sh. there is some processor type detection stuff in there to make platforms ready, etc.tough part would be figuring out where the compiler(s) are and configuring them, so I stick with one set. for mingw-w64, arm32, arm64, 32, 64 targets, it's all set up except for fstab. there is a slightly different readme for each cpu target tree. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Dongsheng Daily bugs, MSYS shell bug
Dongsheng Daily from 5.0.0 20141114 onward: 1. algorithm and iostream missing from 5.0.0: list-search-bars.cpp:16:20: fatal error: iostream: No such file or directory d:\prj\lib\strfuncs\strfuncs.cpp:13:25: fatal error: algorithm: No such file or directory 2. PathFileExists is in ShlWapi.h but lib is missing list-search-bars.o:list-search-bars.cpp:(.text+0xe92a): undefined reference to `__imp_PathFileExistsA' collect2.exe: error: ld returned 1 exit status Kai, about this MSYS shell bug: https://sourceforge.net/p/mingw-w64/bugs/434/ wasn't sure if I should report this as a bug, or whether this belongs in the list. fron now on I will report to list first, is that preferable? or how do I make the decision about whether to make a ticket or use ML? - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] bug in ftream RE: .tellg() and .seekg()
the code I have is large. what is does is open a text filesave the position from .tellg() read through a file using .getline() until it hits .eof() and then it does an i.seekg() to the saved position (which I found out originally was 0).but apparently after the seekg, itellg reports -1. this is wrong. something got messed up after hitting eof. I should be able to rewind the file, shouldn't i? - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Fw: (GMP) gcc 4.9.2 build from source
thought this would be of interest... ? - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) - Forwarded Message - Sent: Sunday, November 23, 2014 2:02 PM Subject: Re: gcc 4.9.2 build from source We're sadly aware of GCC's loud recommendation of severely obsolete software. The right approach for GCC is to use a modern GMP, compile it with --disable-assembly, and link to it statically. I just extract the tarball into the gcc source tree and everything builds fine without any issues. This rev seems to work well : node000 $ grep __GNU_MP_VERSION /usr/local/include/gmp.h #define __GNU_MP_VERSION 6 #define __GNU_MP_VERSION_MINOR 0 #define __GNU_MP_VERSION_PATCHLEVEL 0 #define __GNU_MP_RELEASE (__GNU_MP_VERSION * 1 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL) Not bad results at all : https://gcc.gnu.org/ml/gcc-testresults/2014-10/msg01022.html So I don't know what the issue is over at ye old GCC project but I have seen no issues with gmp in a long while. However, just for the sake of giving the optimization levels a try I want to see if gmp can build on Solaris 10 with the latest release of Oracle Studio 12.4. I'll let you know. Dennis ___ gmp-bugs mailing list gmp-b...@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Bash shellshock
just got this from O'reilly.com, it's a security alert. as you know, MSYS uses BASH and so does cygwin. Forwarded Message Subject: Programming Today: Bash shellshock, Python 3, peer code review + more Date: Sat, 27 Sep 2014 06:10:26 -0700 From: O'Reilly Media orei...@post.oreilly.com To: jmich...@yahoo.com Programming Newsletter - O'Reilly Media 60 recipes to make your cloud even better ( View in browser http://post.oreilly.com/rd/9z1zscslfit6plekboprdujc74l1aagc0ihuldaror8) O'Reilly Media Logo O'Reilly ProgrammingNewsletter 1. Bash shellshock vulnerability While the world awaits a complete fix, what is known so far http://post.oreilly.com/rd/9z1z7g4mukqpo7ln31mbh522sjes5bjruags8278s40 is that the vulnerability identified as CVE-2014-6271 http://post.oreilly.com/rd/9z1zabple8sqvhijrfgq3ebii89thaf0e3c9c1pogco, aka shellshock, affects the widely used bash shell and has the potential to become a serious threat. If you haven't already, do yourself a favor and go patch your system. We'll be here when you get back, promise. 2. Python 3: threat or menace? There's a sea change in the move from Python 2 to Python 3. Many popular third-party tools have been ported over from 2 to 3 and there's a concerted effort within the greater Python community to accelerate the move forward. If you find yourself on the fence, you'll want to follow Bill Lubanovic as he details why he chose to go with Python 3 http://post.oreilly.com/rd/9z1zhtkoda1nc48dmsqh3dfhecl7cbcmnuj5f5v6r4g for his new book, /Introducing Python: Modern Computing in Simple Packages/ http://post.oreilly.com/rd/9z1zsj69idobvs282v5ccvtfr2h5hn58uv1ij2a53k0. 3. Let's get practical Code reviews are a great way to distinguish yourself as a competent programmer and team player. Not only do they provide a second set of eyes, but they're a great way to share knowledge and encourage thoroughness in others. To get a head start with this common practice, Nat from /4 Short Links/ points to these Practical Lessons in Peer Code Review http://post.oreilly.com/rd/9z1zckob4alsqm2d3hofeinthbe115pv2shiml0cfhg. Sponsored Content 60 recipes to make your cloud even better book citrix logo http://post.oreilly.com/rd/9z1zced8hmhainbiaorjons8rg9q362q8h49s6aujqgBuild an effective cloud platform with /60 Recipes for Apache CloudStack/, the new ebook covering the entire Apache CloudStack ecosystem. It also includes tools such as Chef, Ansible, and Vagrant; applications like Hadoop; and storage solutions like RiakCS. If you work with Apache CloudStack, these recipes will empower you to work better and faster, whether you're building a public, private, or hybrid cloud. This ebook is free for a limited time, compliments of Citrix http://post.oreilly.com/rd/9z1zejl17s4319o0crrt0bs10d7bcg5noh7ln8iem5o. Get Your Free Ebook → http://post.oreilly.com/rd/9z1zob1t9catm71qd46jsgau2q2ocjj0rg11aaok9gg 4. Look up in the sky, it's a bird, it's a plane The latest efforts in affordable high-speed connectivity have made considerable progress this week. Astro Teller, head of the Google X lab, recently announced that the ornithologically codenamed Project Loon aims to have a semipermanent ring of balloons http://post.oreilly.com/rd/9z1zrg4qeqk1j7964a5b62rrns0qcde51gk29aosbq8 deployed somewhere in the Southern Hemisphere within the next year or so. Not to be overshadowed, Facebook recently announced that they will begin testing solar-powered internet-beaming drones http://post.oreilly.com/rd/9z1z6gehjep7jf7ikmp94cqdp186nk8abgtv4grudg0 in 2015. 5. Git for grown-ups Do you find that you just don't git it? Join Emma Jane Westby for a hands-on introduction to Git in a unique webcast experience http://post.oreilly.com/rd/9z1zff6j0l7e58jgej0gdm6e7en1kg67nq6mjaf22qg where you'll actually sketch–on paper–how version control works, using terms and scenarios that make sense to you. It's also a great session to attend if you want to develop a deeper understanding of why your previous attempts to explain Git to others have failed. 6. tail -f /dev/newsletter If you were wondering how to log out of your Netflix account on your gigantic Vizio flatscreen TV, you'll find that the process is a little more complicated than expected. Fortunately, the developers at Netflix used a modified version of the classic Konami code http://post.oreilly.com/rd/9z1zvn5c0jkmdptgug2blifrt5fcqeuqmd6m5sj425o easter egg to save you the trouble of signing out of all your devices from your main account. Pop open the Vizio Netflix app, then enter Up, Up, Down, Down, Left, Right, Left, Right, Up, Up, Up, Up with the arrow keys on your remote to sign out. You are receiving this because you're a customer of O'Reilly Media, or you've signed up to receive email from us. We hope you found this message to be useful. However, if you'd rather not receive future emails of this type from O'Reilly, please
[Mingw-w64-public] warning: MPFR header version 3.1.2-p9 differs from library version 3.1.2-p10.
I get this error 4 times. Using built-in specs. COLLECT_GCC=f:\x86_64-4.9.1-release-posix-sjlj-rt_v3-rev1\mingw64\bin\g++.exe COLLECT_LTO_WRAPPER=f:/x86_64-4.9.1-release-posix-sjlj-rt_v3-rev1/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.1/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../../../src/gcc-4.9.1/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw491/x86_64-491-posix-sjlj-rt_v3-rev1/mingw64 --with-gxx-include-dir=/mingw64/x86_64-w64-mingw32/include/c++ --enable-shared --enable-static --enable-targets=all --enable-multilib --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-sjlj-exceptions --disable-isl-version-check --disable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch-32=i686 --with-arch-64=nocona --with-tune-32=generic --with-tune-64=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw491/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw491/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw491/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/mingw491/prerequisites/x86_64-w64-mingw32-static --with-cloog=/c/mingw491/prerequisites/x86_64-w64-mingw32-static --enable-cloog-backend=isl --with-pkgversion='x86_64-posix-sjlj-rev1, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw491/x86_64-491-posix-sjlj-rt_v3-rev1/mingw64/opt/include -I/c/mingw491/prerequisites/x86_64-zlib-static/include -I/c/mingw491/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/c/mingw491/x86_64-491-posix-sjlj-rt_v3-rev1/mingw64/opt/include -I/c/mingw491/prerequisites/x86_64-zlib-static/include -I/c/mingw491/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw491/x86_64-491-posix-sjlj-rt_v3-rev1/mingw64/opt/lib -L/c/mingw491/prerequisites/x86_64-zlib-static/lib -L/c/mingw491/prerequisites/x86_64-w64-mingw32-static/lib ' Thread model: posix gcc version 4.9.1 (x86_64-posix-sjlj-rev1, Built by MinGW-W64 project) COLLECT_GCC_OPTIONS='-D' 'DEBUG' '-Wall' '-Wextra' '-v' '-save-temps' '-march=native' '-mtune=native' '-O' '-static' '-std=c++11' '-s' '-isystem' '/libpq/' '-isystem' '/libpq/server/libpq/' '-isystem' '/prj/fltk/fltk-2.0.x-alpha-r9042/' '-isystem' '/prj/fltk/fltk-2.0.x-alpha-r9042/lib/' '-isystem' '/prj/zlib-1.2.5/' '-isystem' '/prj/boost/boost64' '-o' '64\egrepsed.exe' f:/x86_64-4.9.1-release-posix-sjlj-rt_v3-rev1/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.1/cc1plus.exe -E -quiet -v -iprefix f:/x86_64-4.9.1-release-posix-sjlj-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/ -D_REENTRANT -D DEBUG -isystem /libpq/ -isystem /libpq/server/libpq/ -isystem /prj/fltk/fltk-2.0.x-alpha-r9042/ -isystem /prj/fltk/fltk-2.0.x-alpha-r9042/lib/ -isystem /prj/zlib-1.2.5/ -isystem /prj/boost/boost64 egrepsed.cpp -march=sandybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=15360 -mtune=sandybridge -std=c++11 -Wall -Wextra -O -fpch-preprocess -o egrepsed.ii ignoring nonexistent directory /prj/fltk/fltk-2.0.x-alpha-r9042 ignoring nonexistent directory /prj/fltk/fltk-2.0.x-alpha-r9042/lib ignoring nonexistent directory /prj/boost/boost64 ignoring duplicate directory f:/x86_64-4.9.1-release-posix-sjlj-rt_v3-rev1/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.1/include ignoring nonexistent directory C:/mingw491/x86_64-491-posix-sjlj-rt_v3-rev1/mingw64C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../include ignoring duplicate directory f:/x86_64-4.9.1-release-posix-sjlj-rt_v3-rev1/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.1/include-fixed ignoring duplicate directory f:/x86_64-4.9.1-release-posix-sjlj-rt_v3-rev1/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/include ignoring nonexistent directory C:/mingw491/x86_64-491-posix-sjlj-rt_v3-rev1/mingw64/mingw/include #include ... search starts here: #include ... search starts here: /libpq /libpq/server/libpq /prj/zlib-1.2.5
Re: [Mingw-w64-public] Big perfomance difference 32/64 bits
On 8/26/2014 11:07 AM, Óscar Fuentes wrote: Raffaello D. Di Napoli fasti...@gmail.com writes: 2014-08-25 11:25 GMT-04:00 Óscar Fuentes o...@wanadoo.es: On a CPU-intensive application, the 64 bit exe runs 40% slower than its 32 bit counterpart. It's a C++ app with a workload typical of a compiler. Are there known slow spots on the 64 bit runtimes? You mean, other than the fact that all your pointers (you say compiler, so you probably use a lot of them in your data structures) are twice as large and effectively reduce the effective size of your processor’s data cache? Yes, there are lots of pointers. The 64 bit executable uses almost 40% more memory than the 32 bit executable. Perhaps it is not all that coincidental that it is slower by the same factor. One important thing I omitted was that I'm using Windows 8.1 64 bits running on VMWare Workstation with Kubuntu 14.04 as host. The same app running on Linux as 64 bits, compiled by gcc 4.8.2, runs twice faster than when running on the Windows VM on 64 bit mode. The performance penalty imposed by VMWare for single-threaded, CPU-bound processes is much lower on my experience. I'll try on a real Windows 64 bit machine as soon as I have access to one, but I'm afraid that the 32bit vs 64bit slowdown is not caused by VMWare. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public I was informed that 64-bit binaries on windows run faster actually due to WOW64's 32-bit translation (layer?). -- jmich...@yahoo.com j...@renewalcomputerservices.comj...@renewalcomputerservices.com http://JesusnJim.com (personal site, computer repair info, programming, calculators) http://RenewalComputerServices.com (my computer repair/software business) Computer memory/disk size measurements: [KB KiB] [MB MiB] [GB GiB] [TB TiB] [10^3B=1,000B=1KB][2^10B=1,024B=1KiB] [10^6B=1,000,000B=1MB][2^20B=1,048,576B=1MiB] [10^9B=1,000,000,000B=1GB][2^30B=1,073,741,824B=1GiB] [10^12B=1,000,000,000,000B=1TB][2^40B=1,099,511,627,776B=1TiB] Note: disk size is measured in MB, GB, or TB, not in MiB, GiB, or TiB. computer memory (RAM) is measured in MiB and GiB. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] __int128 literals don't work
__int128.cpp:4:16: warning: integer constant is too large for its type __int128 i=170141183460469231731687303715884105727LL; ^ __int128.cpp:5:25: warning: integer constant is too large for its type unsigned __int128 u=340282366920938463463374607431768211455ULL; ^ __int128.cpp:4:16: warning: integer constant is too large for its type __int128 i=170141183460469231731687303715884105727; ^ __int128.cpp:5:25: warning: integer constant is too large for its type unsigned __int128 u=340282366920938463463374607431768211455U; ^ __int128.cpp:4:16: error: unable to find numeric literal operator 'operatorLLL' __int128 i=170141183460469231731687303715884105727LLL; ^ __int128.cpp:4:16: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes __int128.cpp:5:25: error: unable to find numeric literal operator 'operatorULLL' unsigned __int128 u=340282366920938463463374607431768211455ULLL; ^ no way to win with __int128 even though it's supposed to be supported. there's not even a stdint.h type for it. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http:#x2F;#x2F;RenewalComputerServices.com http:#x2F;#x2F;JesusnJim.com (computer repair info, programming) -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] libgcc_s_pthread.a missing? pthreads also single-threaded
https://gcc.gnu.org/ml/gcc-help/2007-01/msg00165.html I probably don't understand the compiler, but I have been trying with -static and without, using -Wall -Wextra -v -save-temps -ftree-parallelize-loops=12 -O2 -std=c++11 I have also tried 0 on that number with same results. I always get single-threaded programs, and my stuff contains a lot of vectors and loops. I have also tried with -floop-parallelize-all -ftree-slp-vectorize additionally with same results. it's like that -ftree-parallize-loops is being ignored by the compiler. I did what everybody said and used the posix/pthreads version. this has not helped. auto-threadind seems broken in 4.9.0 v3rev2. I see libgcc_s_sjlj.a but not libgcc_s_pthread.a there's probably a reason for this, or maybe it's a mistake. I don't know. maybe someone else can figure this out. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] problem with compiler not concatenating strings
I asked them to add it. it was missing. you are right, it's better. i can find all the specs for regex stuff there whereas I can't on cplusplus.com. haven't had the money for a c++11 standard library book, other priorities, by that time will someone have implemented c++14? I remember there being some useful new stuff in c++14. my book is c++03. From: Ruben Van Boxem vanboxem.ru...@gmail.com 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] problem with compiler not concatenating strings 2014-06-29 6:32 GMT+02:00 Jim Michaels jmich...@yahoo.com: thank you ivan, I did not know about cinttypes! this is new to me. it's not listed at cplusplus.com Eh, yes it is: http://www.cplusplus.com/reference/cinttypes/ Also, some might say cppreference.com is a better reference. Check it out: http://en.cppreference.com/w/cpp/header/cinttypes Oh, and get a decent book on C (or C++, pick one and stick with it), you seem to be missing a lot of basic knowledge. Cheers, Ruben From: Ivan Garramona heavenandhell...@gmail.com To: mingw-w64-public@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 cinttypes 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) || defined(__STDC_FORMAT_MACROS) -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] problem with compiler not concatenating strings
thank you ivan, I did not know about cinttypes! this is new to me. it's not listed at cplusplus.com From: Ivan Garramona heavenandhell...@gmail.com To: mingw-w64-public@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 cinttypes 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) || defined(__STDC_FORMAT_MACROS) -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] error using PRIu64 in inttypes.h
it won't work, I am using C++. the #ifdef specifically excludes C++: #if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) /* 7.8.1 Macros for format specifiers * * MS runtime does not yet understand C9x standard ll * length specifier. It appears to treat ll as l. * The non-standard I64 length specifier causes warning in GCC, * but understood by MS runtime functions. */ /* fprintf macros for signed types */ #define PRId8 d #define PRId16 d #define PRId32 d #define PRId64 I64d #define PRIdLEAST8 d #define PRIdLEAST16 d #define PRIdLEAST32 d #define PRIdLEAST64 I64d #define PRIdFAST8 d ... From: Ivan Garramona heavenandhell...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Saturday, June 21, 2014 8:53 PM Subject: Re: [Mingw-w64-public] error using PRIu64 in inttypes.h Try to define __STDC_FORMAT_MACROS before include inttypes.h. -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] error using PRIu64 in inttypes.h
#include intypes.h #include vector #include stdio.h #include stdlib.h 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__, aprIECPrefixesi.size(),aprIECPowersi.size()); exit(1);} \prj\lib\siiec\siiec.cpp:223:121: error: expected ')' before 'PRIu64' I must be stupid or something, I am getting tired of error messages. column 121 is in an odd place. using a macro that expands to a string never threw an error message before and I can't get my work done. :-( - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] problem with compiler not concatenating strings
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 jmich...@yahoo.com j...@renewalcomputerservices.com 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] problem with compiler not concatenating strings
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 o...@wanadoo.es To: 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 jmich...@yahoo.com 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 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. PRSIu64 is not a string. It is not surrounded by quotation marks. The fact that the compiler accepts the first printf but rejects the second makes obvious that there is no problem with string concatenation. Apart from that, is %P a valid conversion format? I suspect that it is another typo on your test case. -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] issue with .map file generation
any program will do, like #include iostream int main(void) { std::cout2std::endl; return 0; } I have been trying the mingw-w64 and experimental builds, and all the sf.net downloads are corrupted. am using ff29.0.1 on win7x64. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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] From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Monday, June 2, 2014 2:53 AM Subject: Re: [Mingw-w64-public] issue with .map file generation 2014-06-02 11:25 GMT+02:00 Jim Michaels jmich...@yahoo.com: what I am seeing is the offset from the event viewer's crashdump info (the offset) doesn't match the code offset address in the .map file I generate using -xLinker -Map=whereis.map I wish I could have gcc generate code to catch these exceptions like Access Viuolation 0xc005 and give some useful info like a line number, or generate some file that contains the proper offset address. Well, if you run a version of the program compiled with -g or even -g3 (and NOT linked with -s or -Wl,-s), and at the moment of the segfault you type into the gdb console bt, you will be able to see exactly what function calls lead to the crash. So you do: gcc -g blabla.c blabla2.c ... -o myprogram.exe gdb myprogram run [segfault or other signaling error] bt If you're allergic to the commandline, you can try running your program from within an IDE like Qt Creator, which can visually aid you to step through the code. That being said, if a compiler update is to blame, have you recompiled all binaries that are used to create the program? There might be an incompatibility lurking somewhere. This is just a guess though. A SSCCE is needed to really diagnose your problem. Ruben the event viewer shows P8: 00019a8a (the offset) the offset in the .map file and in objdump output starts with 401000 (hexadecimal) so I need to find a way of generating proper .map files for debugging. is there a switch I am missing? between compiler segfaults and this, things are not looking too well for my programs. Jim Michaels I am working on trying to find a way to boil down the compiler segfault into a bite-sized piece rather than sending the whole shebang. it might be hard be hard, nailing this one down is difficult, because it throws an error and segfaults on a perfectly good piece of code. On Mon, 6/2/14, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: Subject: Re: [Mingw-w64-public] issue with .map file generation To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Date: Monday, June 2, 2014, 1:22 AM You cannot debug GCC generated programs with the Windows/Visual Studio tools. You must use GDB. Ruben 2014-06-02 9:46 GMT+02:00 Jim Michaels jmich...@yahoo.com: I am unable to debug my programs, because the .map files and .objdump files that are generated don't match the offset given by werfault.exe which provides the minidump info form windows. I did not want to use gdb. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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] -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech
[Mingw-w64-public] issue with .map file generation
I am unable to debug my programs, because the .map files and .objdump files that are generated don't match the offset given by werfault.exe which provides the minidump info form windows. I did not want to use gdb. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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] -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] compiler segfault in 4.8.3,4.9.0
x86_64-4.8.3-release-win32-sjlj-rt_v3-rev0 x86_64-4.9.0-release-win32-seh-rt_v3-rev1 are both giving me internal compiler segfaults. I have no idea how to reproduce, except with the large sets of files I have, and I wanted to make a living with those. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] printf(%*.*f,d) broken?
hmm. I got this example from p.85 of howard w sams co.e3 The Waite Group's C Primer Plus User-Friendly Guide to the C Programming Language Revised Edition. ISBN 0-672-22582-4 (MSVC 4.x) I didn't think it was in error. but books could be in error. From: K. Frank kfrank2...@gmail.com To: mingw64 mingw-w64-public@lists.sourceforge.net Sent: Friday, May 9, 2014 5:00 PM Subject: Re: [Mingw-w64-public] printf(%*.*f,d) broken? Hi Jim! On Fri, May 9, 2014 at 5:29 PM, Jim Michaels j...@yoohoo.com wrote: I could not find a good example on this because examples in books are scarce as hen's teeth. search engines ignore the * character and maybe even interpret it like a wildcard. :-/ so examples on the web are out. #include stdio.h int main(void) { double d=1234567890.123456789; int width=7,precision=3;//tried 3 and 9 printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); //generates forever loop of spaces, program hangs. return 0; } I think that you have too few arguments to your printf call. I don't actually know what %*.*f does, but I assume it uses printf arguments to specify the actual format. But (according to my assumption) width=%d, precision=%d has already used up the arguments that %*.*f is expecting. When I change the line printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); to printf(width=%d, precision=%d, d=%*.*f\n, width, precision, width, precision, d); the program works as I would expect, printing out width=7, precision=3, d=1234567890.123 I need to use this. but it seems broken. it just locks up generating spaces no matter what I put in for numbers. I don't think that's right. Jim Michaels ... Good luck. K. Frank -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] printf(%*.*f,d) broken?
http://en.cppreference.com/w/c/io/fprintf#Parameters according to this and the old C book I have, printf(%*.*f, width, precision, width, precision, value); is wrong. it should be printf(%*.*f, width, precision, value); see http://stackoverflow.com/questions/16413609/printf-variable-number-of-decimals-in-float From: K. Frank kfrank2...@gmail.com To: mingw64 mingw-w64-public@lists.sourceforge.net Sent: Friday, May 9, 2014 5:00 PM Subject: Re: [Mingw-w64-public] printf(%*.*f,d) broken? Hi Jim! On Fri, May 9, 2014 at 5:29 PM, Jim Michaels j...@yoohoo.com wrote: I could not find a good example on this because examples in books are scarce as hen's teeth. search engines ignore the * character and maybe even interpret it like a wildcard. :-/ so examples on the web are out. #include stdio.h int main(void) { double d=1234567890.123456789; int width=7,precision=3;//tried 3 and 9 printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); //generates forever loop of spaces, program hangs. return 0; } I think that you have too few arguments to your printf call. I don't actually know what %*.*f does, but I assume it uses printf arguments to specify the actual format. But (according to my assumption) width=%d, precision=%d has already used up the arguments that %*.*f is expecting. When I change the line printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); to printf(width=%d, precision=%d, d=%*.*f\n, width, precision, width, precision, d); the program works as I would expect, printing out width=7, precision=3, d=1234567890.123 I need to use this. but it seems broken. it just locks up generating spaces no matter what I put in for numbers. I don't think that's right. Jim Michaels ... Good luck. K. Frank -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] printf
yes, I forgot one. I also found code that resolves my issue and I get the formatting I want (which what I really want is a quantity of lhs digits and a qty of rhs digits. printf(precision=%d, d=%*.*f\n, width, precision, d); //generates forever loop of spaces, program hangs. #include cstdio//stdio.h int main(void) { int lhsNumDigits=9, rhsNumDigits=5, width=lhsNumDigits+rhsNumDigits+1, precision=rhsNumDigits; //floats printf(d=%0*.*f\n, width, precision, 55.292); //d=00055.29200 printf(d=%*.*f\n, width, precision, 55.292); //d= 55.29200 //strings too. printf(d=%*s\n, 5, abc); //d= abc printf(d=%*s\n, 5, abcdefghi); //d=abcdefghi return 0; } thanks folks. problem resolved. From: sampo-mi...@zxid.org sampo-mi...@zxid.org To: jmich...@yahoo.com Cc: mingw-w64-public@lists.sourceforge.net; sampo-mi...@zxid.org Sent: Saturday, May 10, 2014 3:07 AM Subject: Re: [Mingw-w64-public] printf Jim Michaels jmich...@yahoo.com said: I could not find a good example on this because examples in books are scarce as hen's teeth. search engines ignore the * character and maybe even interpret it like a wildcard. :-/ so examples on the web are out. #include stdio.h int main(void) { double d=1234567890.123456789; int width=7,precision=3;//tried 3 and 9 printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); //generates forever loop of spaces, program hangs. Elementary programming error: for each * in the format, you must supply an argument. man 3 printf Cheers, --Sampo return 0; } I need to use this. but it seems broken. it just locks up generating spaces no matter what I put in for numbers. I don't think that's right. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http://RenewalComputerServices.com http://JesusnJim.com (my personal site, has software) -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] printf(%*.*f,d) broken?
this is a copy I pasted from another thread to let you know I got the problem solved. I found code that resolves my issue and I get the formatting I want (which what I really want is a quantity of left-hand-side digits and a qty of right-hand-side digits). printf(precision=%d, d=%*.*f\n, width, precision, d); //generates forever loop of spaces, program hangs. #include cstdio//stdio.h int main(void) { int lhsNumDigits=9, rhsNumDigits=5, width=lhsNumDigits+rhsNumDigits+1, precision=rhsNumDigits; //floats printf(d=%0*.*f\n, width, precision, 55.292); //d=00055.29200 printf(d=%*.*f\n, width, precision, 55.292); //d= 55.29200 //strings too. printf(d=%*s\n, 5, abc); //d= abc printf(d=%*s\n, 5, abcdefghi); //d=abcdefghi return 0; } thanks folks. problem resolved. From: K. Frank kfrank2...@gmail.com To: mingw64 mingw-w64-public@lists.sourceforge.net Sent: Friday, May 9, 2014 5:00 PM Subject: Re: [Mingw-w64-public] printf(%*.*f,d) broken? Hi Jim! On Fri, May 9, 2014 at 5:29 PM, Jim Michaels j...@yoohoo.com wrote: I could not find a good example on this because examples in books are scarce as hen's teeth. search engines ignore the * character and maybe even interpret it like a wildcard. :-/ so examples on the web are out. #include stdio.h int main(void) { double d=1234567890.123456789; int width=7,precision=3;//tried 3 and 9 printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); //generates forever loop of spaces, program hangs. return 0; } I think that you have too few arguments to your printf call. I don't actually know what %*.*f does, but I assume it uses printf arguments to specify the actual format. But (according to my assumption) width=%d, precision=%d has already used up the arguments that %*.*f is expecting. When I change the line printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); to printf(width=%d, precision=%d, d=%*.*f\n, width, precision, width, precision, d); the program works as I would expect, printing out width=7, precision=3, d=1234567890.123 I need to use this. but it seems broken. it just locks up generating spaces no matter what I put in for numbers. I don't think that's right. Jim Michaels ... Good luck. K. Frank -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] printf(%*.*f,d) broken?
I could not find a good example on this because examples in books are scarce as hen's teeth. search engines ignore the * character and maybe even interpret it like a wildcard. :-/ so examples on the web are out. #include stdio.h int main(void) { double d=1234567890.123456789; int width=7,precision=3;//tried 3 and 9 printf(width=%d, precision=%d, d=%*.*f\n, width, precision, d); //generates forever loop of spaces, program hangs. return 0; } I need to use this. but it seems broken. it just locks up generating spaces no matter what I put in for numbers. I don't think that's right. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] -console gone, some opt switches seem to force wWinMain
-console switch is gone, some optimization switches like -ftree-parallelize-loops=4 -ftree-loop-vectorize -ftree-slp-vectorize -floop-parallelize-all which must be combined with -O2 apparently, seem to somehow require a WinMain. why is this? console programs are quite capable of doing threads and making win32 calls and this should not be required. ib\libmingw32.a(lib64_libmingw32_a-crt0_w.o):crt0_w.c:(.text+0x18): undefined reference to `wWinMain' collect2.exe: error: ld returned 1 exit status COLLECT_GCC=f:\x86_64-4.9.0-release-win32-seh-rt_v3-rev1\mingw64\bin\g++.exe COLLECT_LTO_WRAPPER=f:/x86_64-4.9.0-release-win32-seh-rt_v3-rev1/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Thread model: win32 gcc version 4.9.0 (x86_64-win32-seh-rev1, Built by MinGW-W64 project)COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftree-parallelize-loops=4' '-ftree-loop-vectorize' '-ftree-slp-vectorize' '-floop-parallelize-all' '-O2' '-m64' '-municode' '-static' '-fno-strict-aliasing' '-fwrapv' '-Wall' '-Wextra' '-std=c++11' '-o' 'gcc-substr-bug.exe' '-mtune=core2' '-march=nocona' '-mthreads' '-pthread' code is #include string #include iostream int main(void) { std::string searchIn=abc(a href=\def.html\def/a, searchFor=a href=\,equals==; size_t posOpenElement=searchIn.find(searchFor); //should be 4 std::coutposOpenElement=posOpenElement, should be 4std::endl; if (std::string::npos!=posOpenElement) { size_t posEquals=searchIn.find(equals,posOpenElement + searchFor.size());//should fail std::coutposEquals=posEquals, should be huge number (-1)std::endl; } return 0; } commandline is Thu 05/08/2014 15:36:58.22|d:\prj\tc-search\renumber-ids-2.0\tests|f:\x86_64-4.9.0-release-win32-seh-rt_v3-rev1\mingw64\bin\g++.exe -Wall -Wextra -v -save-temps -ftree-parallelize-loops=4 -ftree-loop-vectorize -ftree-slp-vectorize -floop-parallelize-all -O2 -m64 -municode -static -fno-strict-aliasing -fwrapv -lstdc++ -lmingw32 -Wall -W -Wextra -Xlinker -Map=gcc-substr-bug.map -std=c++11 -ogcc-substr-bug.exe gcc-substr-bug.cpp 2gcc-substr-bug.err on 64-bit windows 7. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] -console gone, some opt switches seem to force wWinMain
hi folks, one of the things that is causing the problem is -municode. From: Jim Michaels jmich...@yahoo.com To: Mingw64 Users mingw-w64-public@lists.sourceforge.net Sent: Thursday, May 8, 2014 3:44 PM Subject: -console gone, some opt switches seem to force wWinMain -console switch is gone, some optimization switches like -ftree-parallelize-loops=4 -ftree-loop-vectorize -ftree-slp-vectorize -floop-parallelize-all which must be combined with -O2 apparently, seem to somehow require a WinMain. why is this? console programs are quite capable of doing threads and making win32 calls and this should not be required. ib\libmingw32.a(lib64_libmingw32_a-crt0_w.o):crt0_w.c:(.text+0x18): undefined reference to `wWinMain' collect2.exe: error: ld returned 1 exit status COLLECT_GCC=f:\x86_64-4.9.0-release-win32-seh-rt_v3-rev1\mingw64\bin\g++.exe COLLECT_LTO_WRAPPER=f:/x86_64-4.9.0-release-win32-seh-rt_v3-rev1/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Thread model: win32 gcc version 4.9.0 (x86_64-win32-seh-rev1, Built by MinGW-W64 project)COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftree-parallelize-loops=4' '-ftree-loop-vectorize' '-ftree-slp-vectorize' '-floop-parallelize-all' '-O2' '-m64' '-municode' '-static' '-fno-strict-aliasing' '-fwrapv' '-Wall' '-Wextra' '-std=c++11' '-o' 'gcc-substr-bug.exe' '-mtune=core2' '-march=nocona' '-mthreads' '-pthread' code is #include string #include iostream int main(void) { std::string searchIn=abc(a href=\def.html\def/a, searchFor=a href=\,equals==; size_t posOpenElement=searchIn.find(searchFor); //should be 4 std::coutposOpenElement=posOpenElement, should be 4std::endl; if (std::string::npos!=posOpenElement) { size_t posEquals=searchIn.find(equals,posOpenElement + searchFor.size());//should fail std::coutposEquals=posEquals, should be huge number (-1)std::endl; } return 0; } commandline is Thu 05/08/2014 15:36:58.22|d:\prj\tc-search\renumber-ids-2.0\tests|f:\x86_64-4.9.0-release-win32-seh-rt_v3-rev1\mingw64\bin\g++.exe -Wall -Wextra -v -save-temps -ftree-parallelize-loops=4 -ftree-loop-vectorize -ftree-slp-vectorize -floop-parallelize-all -O2 -m64 -municode -static -fno-strict-aliasing -fwrapv -lstdc++ -lmingw32 -Wall -W -Wextra -Xlinker -Map=gcc-substr-bug.map -std=c++11 -ogcc-substr-bug.exe gcc-substr-bug.cpp 2gcc-substr-bug.err on 64-bit windows 7. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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] -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] unparking cores on windows
if you are doing parallel builds, this might be fore you. http://jesusnjim.com/pc-repair/speed-up/maximize-cpu-performance-disable-core-parking.html - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] statically linking - need more detail
I know how to statically link in the runtime, but not the stdc++ lib. I want to make a monolithic exe. -static-libgcc -lgcc but what else do I put in? thanks. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] statically linking - need more detail
how does -static differ from -statlc-libgcc? when compiling to .o files, -static is a problem isn't it? or not? with -static, what happens when you combine with -lkernel32? does it still use the kernel32.dll, or does it try to statically link in that DLL? not sure I completely understand the extent/meaning of -static. From: Ivan Garramona heavenandhell...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Saturday, March 29, 2014 1:24 PM Subject: Re: [Mingw-w64-public] statically linking - need more detail I think -static is what you're looking for. 2014-03-29 16:28 GMT-03:00 Jim Michaels jmich...@yahoo.com: I know how to statically link in the runtime, but not the stdc++ lib. I want to make a monolithic exe. -static-libgcc -lgcc but what else do I put in? thanks. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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] -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] note of thanks
thanks folks, for fixing the vector.size() bug in 4.9.0 experimental posix older version and releasing a newer version with fixes. I was getting -1 for a size() for a while. I definitely appreciate this. thanks again! - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Q: vectoru16string, cout, ostringstream not working (Ruben?)
since std::ucout is not implemented yet, I decided to implement it. #define UNICODE #include ostream #include sstream #include vector #include string #include ios #include initializer_list #include uchar.h #include wchar.h typedef std::vectorstd::u16string Vu16S; typedef std::basic_ostringstreamchar16_t uostringstream; //typedef std::basic_ostringstreamchar32_t u32ostringstream; typedef std::basic_ostreamchar16_t uostream; //typedef std::basic_ostreamchar32_t u32ostream; uostream ucout; //std::basic_ostreamchar32_t u32cout; Vu16S vu16blockss={u\u00a0,u\u2591,u\u2592,u\u2593,u\u2588}; Vu16S vu16asciis={u ,u-,u*}; //could maybe use # or @ instead int main(void) { uostringstream ograph; //ographu\u00a0\u2591\u2592\u2593\u2588;//-; ographvu16blockss[1]; ucoutograph.str(); ucoutu\u00a0\u2591\u2592\u2593\u2588; return 0; } /* In file included from ostream2.cpp:2:0: f:\x86_64-4.9.0-snapshot-20131119-rev205009-posix-sjlj-rt_v4\mingw64\lib\gcc\x86_64-w64-mingw32\4.9.0\include\c++\ostream:384:7: error: 'std::basic_ostream_Cha rT, _Traits::basic_ostream() [with _CharT = char16_t; _Traits = std::char_traitschar16_t]' is protected basic_ostream() ^ ostream2.cpp:17:10: error: within this context uostream ucout; ^ I saw this later on and this matched my implementation (but I did not know about dropping the 16): http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2035.pdf previous revision I thought this was the problem: is this the reason? http://sourceforge.net/p/mingw-w64/mailman/message/31588691/ I have no idea how to make UNICODE work with std::ostringstream. eventually it needs to go to std::cout. so: what is wrong in the first error? I don't understand why something is protected. somebody said something about fstream containing the implementation of ostream in gcc (not sure if this is stil true). apparently, msvc++ has this problem too. seems like something I ought to be able to do simply, but it just breaks. not sure why this is protected. */ help appreciated. it would be wonderful to see unicode stuff implemented in gcc. but for now it's a 2006 proposal. I would like to know the workaround to solve this problem so I can have uniocode iostreams. thanks. From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Thursday, March 13, 2014 1:32 AM Subject: Re: [Mingw-w64-public] Q: vectoru16string, cout, ostringstream not working (Ruben?) 2014-03-11 19:14 GMT+01:00 Jim Michaels jmich...@yahoo.com: https://groups.google.com/forum/#!topic/comp.lang.c++.moderated/uap4cEOxU08 Ruben, saw your post. am trying to find out exactly what would work in this instance. help appreciated. I have no idea what I have to do with the link, but the question in your subject line is easy to solve: std::wostream operator(const std::wostream os, const std::vectoru16string stuff) { for(auto s : stuff) os s '\n'; // or whatever delimiter or formatting you want to display the list return os; } This allows you to do: std::wcout some_vector_u16string; If you want to use plain ostream, you'll need to convert the 16-bit element strings to something 8-bit or use some custom output method other than (w)cout. Stackoverflow.com has a huge amount of convert UTF-16 to UTF-8 questions. Check those out. Ruben -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Sigh! Back To Microsoft Compiler
to quote my earlier email (compilers still there and suspect win32 still may not work) I had other problems with the current 4.8.2 which I have already addresses elsewhere. ===[snip] d:\i686-4.8.2-release-win32-sjlj-rt_v3-rev0\mingw32\bin\g++.exe -Wall -Wextra -v -save-temps -Xlinker -Map=32\df.32.map -Ofast -std=c++11 -s -isystem /libpq/ -isystem /libpq/server/libpq/ -isystem /prj/fltk/fltk-2.0.x-alpha-r9042/ -isystem /prj/fltk/fltk-2.0.x-alpha-r9042/lib/ -isystem /prj/zlib-1.2.5/ -isystem /prj/boost/boost32 -o 32\df.exe df.cpp prsinum.cpp atoi64.cpp strfuncs.cpp 32\df.manifest.res -lshlwapi -lkernel32 -lstdc++ 232\errgw32df is my command line. I am suspecting there is something wrong with my commandline. this commandline works for 64-bit: d:\x86_64-4.8.2-release-win32-sjlj-rt_v3-rev0\mingw64\bin\g++.exe -Wall -Wextra -v -save-temps -Xlinker -Map=64\df.64.map -Ofast -std=c++11 -s -isystem /libpq/ -isystem /libpq/server/libpq/ -isystem /prj/fltk/fltk-2.0.x-alpha-r9042/ -isystem /prj/fltk/fltk-2.0.x-alpha-r9042/lib/ -isystem /prj/zlib-1.2.5/ -isystem /prj/boost/boost64 -o 64\df.exe df.cpp prsinum.cpp atoi64.cpp strfuncs.cpp 64\df.manifest.res -lshlwapi -lkernel32 -lstdc++ 264\errgw64df but they are exactly the same with the exception of the g++ path and the destination of the exe! I am suspecting there is a problem with the mingw-builds i686-4.8.2-release-win32-sjlj-rt_v3-rev0. it won't link its own shlwapi library. here is the only error message. ===[snip] Jim Michaels From: Ray Donnelly mingw.andr...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Thursday, March 20, 2014 2:34 AM Subject: Re: [Mingw-w64-public] Sigh! Back To Microsoft Compiler On Thu, Mar 20, 2014 at 8:33 AM, Jim Michaels jmich...@yahoo.com wrote: but I thought that it was said here that the win32 version does not work with sjlj in a stable way - yet? You've resurrected a month old thread with an email that is 100% non-sequitur. At no point in this this thread has anyone mentioned sjlj. Also, you are talking about some object or product without any indication of what it is, nor who it was here who said that about it. Would it be possible for you to connect the dots please? From: Kai Tietz ktiet...@googlemail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Thursday, February 20, 2014 1:14 AM Subject: Re: [Mingw-w64-public] Sigh! Back To Microsoft Compiler 2014-02-20 1:16 GMT+01:00 Ciro Cornejo ciro.corn...@wdc.com: Seriously? !!! Come on guys, this makes the compiler unusable. What? ...but as long as you're making a toy compiler, would you consider making one that does not support pthreads and so avoids this problem? Why we should make a compiler which doesn't support pthreads? pthreads is a user-library and it is up to you to use it or not. Thanks. Hi! Sorry for the interruption, but you may want to take at least a few seconds to look into some recent license changes for the software you're about to install. What license-changes? Yes, winpthread uses a more liberal license for developers as other win32 based pthread libraries do. So yes, it is a BSD license, and therefore you might need to mention that you are using is it. This is just fair. Parts of the winpthreads library will be compiled into every binary file (EXE That isn't true. First this applies only to gcc-version built with posix-threading model. For it, either it is linked in as shared library, or if you request it as static library. If you don't want to rely on posix-threading-model, then simply don't use it and choose a toolchain buiild with win32-threading mode (by the way the default configuration). I would advice you to look in more detail to license issues. MS compiler has them, and gcc mingw(-w64) do so too. You will be wondering what other licenses you are using for just building a simple hello-world-application with mingw(-w64). For getting an idea you might to take a look to the COPYING.MinGW-w64-runtime license. You seem to mix here the term free software with free for nothing software, and copy other people's work without acknowledge it. or DLL) you create. It's a necessary evil that is currently required in order to provide support for threads and concurrency in programs compiled by GCC. The license for winpthreads requires you to reproduce its text in every copy or substantial portion of the winpthreads library that you distribute. This means that even if you just want to distribute a single small executable, created with TDM-GCC (or any winpthreads-based GCC release), you must include a copy of that license. INAL, but in general you might be right. If you want to be fair, you should need to mention
Re: [Mingw-w64-public] Sigh! Back To Microsoft Compiler
but I thought that it was said here that the win32 version does not work with sjlj in a stable way - yet? From: Kai Tietz ktiet...@googlemail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Thursday, February 20, 2014 1:14 AM Subject: Re: [Mingw-w64-public] Sigh! Back To Microsoft Compiler 2014-02-20 1:16 GMT+01:00 Ciro Cornejo ciro.corn...@wdc.com: Seriously? !!! Come on guys, this makes the compiler unusable. What? ...but as long as you're making a toy compiler, would you consider making one that does not support pthreads and so avoids this problem? Why we should make a compiler which doesn't support pthreads? pthreads is a user-library and it is up to you to use it or not. Thanks. Hi! Sorry for the interruption, but you may want to take at least a few seconds to look into some recent license changes for the software you're about to install. What license-changes? Yes, winpthread uses a more liberal license for developers as other win32 based pthread libraries do. So yes, it is a BSD license, and therefore you might need to mention that you are using is it. This is just fair. Parts of the winpthreads library will be compiled into every binary file (EXE That isn't true. First this applies only to gcc-version built with posix-threading model. For it, either it is linked in as shared library, or if you request it as static library. If you don't want to rely on posix-threading-model, then simply don't use it and choose a toolchain buiild with win32-threading mode (by the way the default configuration). I would advice you to look in more detail to license issues. MS compiler has them, and gcc mingw(-w64) do so too. You will be wondering what other licenses you are using for just building a simple hello-world-application with mingw(-w64). For getting an idea you might to take a look to the COPYING.MinGW-w64-runtime license. You seem to mix here the term free software with free for nothing software, and copy other people's work without acknowledge it. or DLL) you create. It's a necessary evil that is currently required in order to provide support for threads and concurrency in programs compiled by GCC. The license for winpthreads requires you to reproduce its text in every copy or substantial portion of the winpthreads library that you distribute. This means that even if you just want to distribute a single small executable, created with TDM-GCC (or any winpthreads-based GCC release), you must include a copy of that license. INAL, but in general you might be right. If you want to be fair, you should need to mention other derived work you are using in your application too. We see this pretty liberal, nevertheless people like you are showing to us that we might should reconsider about that. Check the license out in the file COPYING.winpthreads.txt, which will be Where you see COPYING.winpthreads.txt file? It isn't part of winpthread. We have there a file named COPYING. I assume you are referring to that. Regards, Kai -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] current way to printf a size_type and size_t?
my understanding is gcc uses size_t for both. I think there used ot be a %I or something like that for size_type, but not sure what it is now, since I have forgotten, and %I by itself seems to require a number of bits like %I64u. my memory is fuzzy. thanks. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] strange crashes, personal 4.9.0 experimental 64-bit sjlj posix
it was due to a size_t variable going beyond the end of string and being used in substr(). I had no idea it wasn't impervious. when it throws, it aborts. i guess VC++ implements a pure virtual function call to do the abort. http://www.unknownerror.org/Problem/index/-1432760865/in-windows-does-ldquothe-exception-unknown-software-exception-0x4015-occurred-in-the-applicationrdquo-mean-statusfatalappexit/ From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Monday, March 10, 2014 1:43 AM Subject: Re: [Mingw-w64-public] strange crashes, personal 4.9.0 experimental 64-bit sjlj posix 2014-03-10 9:07 GMT+01:00 Jim Michaels jmich...@yahoo.com: my generated code has a problem. it crashes and says .exe has stopped working. windows is checking for a solution for the problem. _.exe has stopped working A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. [Close program] - Eventxmlns=http://schemas.microsoft.com/win/2004/08/events/event; - System Provider Name=Application Error/ EventIDQualifiers=01000/EventID Level2/Level Task100/Task Keywords0x80/Keywords TimeCreated SystemTime=2014-03-10T07:46:26.0Z/ EventRecordID62923/EventRecordID ChannelApplication/Channel ComputerJim-Michaels-PC/Computer Security / /System - EventData Datarenumber-ids.exe/Data Data0.0.0.0/Data Data/Data Datalibstdc++-6.dll/Data Data0.0.0.0/Data Data00020501/Data Data4015/Data Data00023d8e/Data Data3078/Data Data01cf3c34d70eab8f/Data DataD:\prj\tc-search\renumber-ids-2.0\64\renumber-ids.exe/Data DataD:\prj\tc-search\renumber-ids-2.0\64\libstdc++-6.dll/Data Data14d0a2d1-a828-11e3-9ada-f2b1e67a71e0/Data /EventData /Event I also get this: - Eventxmlns=http://schemas.microsoft.com/win/2004/08/events/event; - System Provider Name=Ci/ EventIDQualifiers=163844103/EventID Level4/Level Task1/Task Keywords0x80/Keywords TimeCreated SystemTime=2014-03-10T08:03:22.0Z/ EventRecordID62932/EventRecordID ChannelApplication/Channel ComputerJim-Michaels-PC/Computer Security / /System - EventData Datax/Data Dataf:\catalog.wci/Data /EventData /Event any clue on how to find out what's wrong with my program? windows just took over. Most likely a segfault or other bad things. Run it under gdb and see what it says. Ruben -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Q: vectoru16string, cout, ostringstream not working (Ruben?)
https://groups.google.com/forum/#!topic/comp.lang.c++.moderated/uap4cEOxU08 Ruben, saw your post. am trying to find out exactly what would work in this instance. help appreciated. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] 4.9.0new 4.8.2 sjlj posix x86_64 cc1plus.exe has stopped working
I just ran a i HAVE A 64-BIT msys, configured for using expermiental 4.9.0 experimental sjlj posix x86_64. I was building wxwidgets 3.0.0 with ./configure ; make -j 12 causes a bunch of compiler aborts which brings up a windows error cc1plus.exe has stopped working dialog. the -j specifies the number of parallel compiles. after cleaning and remake, I got same error but this time with cc1plus.exe (X)The instruction at 0x00cc9e0b referenced memory at 0x954c0288. The memory could not be read. Click OK to terminate the program. Faulting application name: cc1plus.exe, version: 0.0.0.0, time stamp: 0x528b3204 Faulting module name: cc1plus.exe, version: 0.0.0.0, time stamp: 0x528b3204 Exception code: 0xc005 Fault offset: 0x008c9e0b Faulting process id: 0x5dfac Faulting application start time: 0x01cf3d7d07fade42 Faulting application path: f:\x86_64-4.9.0-snapshot-20131119-rev205009-posix-sjlj-rt_v4\mingw64\bin\..\libexec\gcc\x86_64-w64-mingw32\4.9.0\cc1plus.exe Faulting module path: f:\x86_64-4.9.0-snapshot-20131119-rev205009-posix-sjlj-rt_v4\mingw64\bin\..\libexec\gcc\x86_64-w64-mingw32\4.9.0\cc1plus.exe Report Id: 45acd00f-a970-11e3-847c-e1f4150142e4 Fault bucket 13473730, type 20 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: cc1plus.exe P2: 0.0.0.0 P3: 528b3204 P4: cc1plus.exe P5: 0.0.0.0 P6: 528b3204 P7: c005 P8: 008c9e0b P9: P10: Attached files: C:\Users\Jim-Michaels\AppData\Local\Temp\WERBD38.tmp.WERInternalMetadata.xml These files may be available here: C:\Users\Jim-Michaels\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_cc1plus.exe_47125e68aa27986916fd7cd8a9395fd71e7bf978_1e948ef7 Analysis symbol: Rechecking for solution: 0 Report Id: d9ecb5c0-a96e-11e3-847c-e1f4150142e4 Report Status: 0 - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] new gnu tool aprof
https://groups.google.com/forum/#!topic/comp.lang.c++.moderated/uap4cEOxU08 - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] Fw: gcc.gnu.org link to win bins needs updating
Hello gcc site maintainers: [this message is cc'd to mingw-w64 mailing list] I need the following entries page http://gcc.gnu.org/install/binaries.html has list item Microsoft Windows. it has only one of the Microsoft Windows gcc compilers (MingW). - MingW-w64(i686+ x86_64 Microsoft Windows target, Microsoft Windows or Fedora hosted compiler).should be added. - MingW should be listed as a MingW (i686 Microsoft Windows targeted and hosted compiler). i686 runs under both 32-bit and 64-bit windows but has a 4GiB memory limitation.. the personal builds should be used for windows-hosted compilers. Windows hosted, 64-bit Windows target: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds Windows hosted, 32-bit Windows target: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds Fedora hosted, Windows target: http://mingw-w64.sourceforge.net/download.php#fedora all mingw-w64 files: https://sourceforge.net/projects/mingw-w64/files you could just boil it down to this URL, but it takes a while to learn to navigate. the http://mingw-w64.sf.net web site helps with that. mingw-w64 site: http://mingw-w64.sourceforge.net/download.php I like the personal experimental builds. they are the latest. - Forwarded Message - From: Adrien Nader To: mingw-w64-public@lists.sourceforge.net Sent: Monday, January 27, 2014 10:53 PM Subject: Re: [Mingw-w64-public] gcc.gnu.org link to win bins needs updating On Mon, Jan 27, 2014, Jim Michaels wrote: ok, but the link on the gcc.gnu.org page is still pointing to mingw, not mingw-w64... I am not a part of the project (at least I don't think so). if you want me to, I could try to have the windows link fixed. That would be really welcome. However I believe that rather than replacing the link to mingw.org, a new one should be added, something like: * mingw.org: for 32 bits compilers * mingw-w64: for both 32 and 64 bits compilers -- Adrien Nader -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
[Mingw-w64-public] download.php on site needs small change
Hello http://mingw-w64.sourceforge.net/download.php page maintainers: the personal builds section of the downloads.php page doesn't list the nice up-to-date experimental builds which everyone wants. perhaps even a simple set of permanent links to the 2 personal builds (i686, x86_64) dirs would be sufficient? https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/ https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ otherwise, students or other new people who need the builds won't know where to get them. it took me a while when I first started to learn how to navigate the dirs to find what I needed. thanks. maybe even just a link to the experimental builds would be very nice, but the above would change a lot less I think. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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]-- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] 4.9.0 experimental 32-bit sjlj posix missing SHValidateUNC
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/Experimental_Builds/4.9.0/threads-posix/sjlj/ specifically, http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/Experimental_Builds/4.9.0/threads-posix/sjlj/x86_64-4.9.0-snapshot-20131119-rev205009-posix-sjlj-rt_v4.7z/download it was a personal build. didn't think it was a nightly. From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Monday, January 27, 2014 2:14 AM Subject: Re: [Mingw-w64-public] 4.9.0 experimental 32-bit sjlj posix missing SHValidateUNC For MinGW-w64 v3.1.0, I can find it where it's supposed to be: x86_64-w64-mingw32-objdump -t x86_64-w64-mingw32/lib/libshell32.a | grep SHValidateUNC [ 7](sec 1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x SHValidateUNC [ 8](sec 5)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x __imp_SHValidateUNC I don't know what version you are using exactly. I suggest not using nightly/dev versions if you don't need to. Cheers, Ruben 2014/1/24 Jim Michaels jmich...@yahoo.com I seem to still be unable to compile my df program for 32-bit even with the new changes to my gw2 compiler wrapper batch file. df.o:df.cpp:(.text+0x270c): undefined reference to `_imp__SHValidateUNC@12' collect2.exe: error: ld returned 1 exit status grep -i SHValidateUNC *.a grep: ddk: Is a directory grep: gdiplus: Is a directory grep: GL: Is a directory grep: psdk_inc: Is a directory grep: sdks: Is a directory grep: sec_api: Is a directory shlobj.h: SHSTDAPI_(WINBOOL) SHValidateUNC (HWND hwndOwner, PWSTR pszFile, UINT fConnect); grep: sys: Is a directory I included this file already Fri 01/24/2014 13:21:56.73|d:\x86_64-4.9.0-snapshot-20131119-rev205009-posix-sjlj-rt_v4\mingw64\x86_64-w64-mingw32\lib|grep -i SHVa lidateUNC * grep: ldscripts: Is a directory Binary file libshell32.a matches I did the obligatory -lshell32 for this. I did -lshell32 -lshlwapi -lkernel32 methinks the .def file for the dll is messed up or something like that. please fix and recompile? thanks. - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com 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] -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] gcc.gnu.org link to win bins needs updating
ok, but the link on the gcc.gnu.org page is still pointing to mingw, not mingw-w64... I am not a part of the project (at least I don't think so). if you want me to, I could try to have the windows link fixed. From: lh_mouse lh_mo...@126.com To: mingw-w64-public mingw-w64-public@lists.sourceforge.net Sent: Friday, January 24, 2014 10:41 PM Subject: Re: [Mingw-w64-public] gcc.gnu.org link to win bins needs updating The history is available on mingw-w64 homepage. http://sourceforge.net/apps/trac/mingw-w64/wiki/History 2014-01-25 Best regards, lh_mouse ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public