[Mingw-w64-public] Encoding problem with __FILE__ macro

2014-01-06 Thread lh_mouse
: #define TO_WCS2(x) L##x #define TO_WCS(x) TO_WCS2(x) std::fputws(TO_WCS(__FILE__), stdout); Personally I am considering this is a bug because GCC does not actually recognizes code page strings. What do you think about this? Best regards, 2014-01-06 lh_mouse

[Mingw-w64-public] Text/binary mode bug in fdopen()??

2014-01-09 Thread lh_mouse
| O_CREAT | O_TRUNC); if (fd != -1) { pf = fdopen(fd, wb); if (pf) { putc ( 'a' , pf ); putc ( '\n' , pf ); putc ( 'b' , pf ); putc ( '\n' , pf ); fclose(pf); } close(fd); } } Best regards. 2014-01-09 lh_mouse

Re: [Mingw-w64-public] Text/binary mode bug in fdopen()??

2014-01-09 Thread lh_mouse
if fdopen() mode conficts with open() mode. And that's my question. 2014-01-09 lh_mouse 发件人:Hannes Domani ssb...@yahoo.de 发送时间:2014-01-09 19:19 主题:Re: [Mingw-w64-public] Text/binary mode bug in fdopen()?? 收件人:mingw

Re: [Mingw-w64-public] Encoding problem with __FILE__ macro

2014-01-11 Thread lh_mouse
The problem happens with the encoding of the source file's path, not the file's contents. Anyway I agree with you that it is a good habit to code in plain English. But it is inevitable to involve the file's path in specific situations e.g. when you use the assert() macro. 2014-01-11 lh_mouse

[Mingw-w64-public] Potential memory leaks in exception handling?

2014-01-16 Thread lh_mouse
model: win32 gcc version 4.9.0 20131119 (experimental) (Built by MinGW-W64 project) Best regards. 2014-01-17 lh_mouse test.cpp Description: Binary data -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn

Re: [Mingw-w64-public] Potential memory leaks in exception handling?

2014-01-16 Thread lh_mouse
I'm quite sure it is due to exceptions. Memory leaks did not occure if those two try...catch'es were in the same thread or no rethrow_exception() was used. Best regards. 2014-01-17 lh_mouse

Re: [Mingw-w64-public] Potential memory leaks in exception handling?

2014-01-16 Thread lh_mouse
there was no memory leak in case 1, then there must be in case 2, IMO. 2014-01-17 lh_mouse test2.cpp Description: Binary data -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing

[Mingw-w64-public] Memory leaks in exception handling? The third example(test suites).

2014-01-17 Thread lh_mouse
: malloc(12) = 00474850 thread 10256: free(00474750) thread 10256: free(00474850) thread 10256: free(004747C0) Best regards. 2014-01-17 lh_mouse test.cpp Description: Binary data mem.c Description: Binary data make_test.cmd_ Description: Binary data

Re: [Mingw-w64-public] What to Download?

2014-01-20 Thread lh_mouse
or 64. Additional: Personally I do not suggest you use mingw32 to cross-compile x64 programs. It compiles but does not run unless you specify -static due to lack of x64 DLLs. Best regards. 2014-01-20 lh_mouse

Re: [Mingw-w64-public] Program that was compiled with i686-4.9.0-dwarf toolchain crashed.

2014-01-23 Thread lh_mouse
to terminate it in an unusual way. Please contact the application's support team for more information. E:\Desktop The -static option is key. The program will not crash if you doesn't use it. -- Best regards, lh_mouse 2014-01-23

Re: [Mingw-w64-public] What to Download?

2014-01-24 Thread lh_mouse
, if there are tons of programs using the same lib, each of those programs will contain a copy of foo(), which statistically wastes space. 2014-01-25 Best regards, lh_mouse -- CenturyLink Cloud: The Leader in Enterprise Cloud

Re: [Mingw-w64-public] gcc.gnu.org link to win bins needs updating

2014-01-24 Thread lh_mouse
The history is available on mingw-w64 homepage. http://sourceforge.net/apps/trac/mingw-w64/wiki/History 2014-01-25 Best regards, lh_mouse -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More

Re: [Mingw-w64-public] build cross compiler mingw w64 gcc 4.8.2 on linux with winpthreads

2014-02-21 Thread lh_mouse
It CRASHES. -- Best regards, lh_mouse 2014-02-21 - 发件人:Koehne Kai kai.koe...@digia.com 发送日期:2014-02-21 15:36 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] build

Re: [Mingw-w64-public] Which MinGW-w64 build to use under Windows for libusb

2014-02-25 Thread lh_mouse
the operating system has provided than to settle for an apple of Sodom - here, POSIX. If being potable is not the primary objective then POSIX is meaningless. -- Best regards, lh_mouse 2014-02-26

[Mingw-w64-public] g++ crashed while compiling this piece of code

2014-03-30 Thread lh_mouse
() noexcept { return std::make_pair(nullptr, 0); } }; static void foo(const std::pairchar *, std::size_t (a)[2]) noexcept { } int main(){ Schar s; foo({s.get_pair(), s.get_pair()}); } -- Best regards, lh_mouse 2014

[Mingw-w64-public] C++11 thread_local crash

2014-04-06 Thread lh_mouse
ideas? -- Best regards, lh_mouse 2014-04-06 -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo

[Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread lh_mouse
Hello there, do I need -flto when building a static lib? Here is an example: E:\Desktopgcc foo.c -c -flto E:\Desktopar rcs libfoo.a foo.o E:\Desktopgcc main.c -L. -lfoo -flto C:\Users\LH_Mouse\AppData\Local\Temp\ccc30oDd.ltrans0.ltrans.o:ccc30oDd.ltrans0.o:(.text+0x1e): undefined reference

Re: [Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread lh_mouse
2014-04-26 Best regards, lh_mouse 发件人:TOCK Chiu stanley82...@gmail.com 发送时间:2014-04-26 21:20 主题:Re: [Mingw-w64-public] Do I need -flto when building a static lib? 收件人:mingw-w64-publicmingw-w64-public@lists.sourceforge.net 抄送: Are you using GCC 4.9.0? Since GCC 4.9.0, LTO-enabled object

Re: [Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread lh_mouse
Yes gcc 4.9.0. Thread model: win32 gcc version 4.9.0 (i686-win32-sjlj-rev0, Built by MinGW-W64 project) 2014-04-26 Best regards, lh_mouse 发件人:TOCK Chiu stanley82...@gmail.com 发送时间:2014-04-26 21:20 主题:Re: [Mingw-w64-public] Do I need -flto when building a static lib? 收件人:mingw-w64

Re: [Mingw-w64-public] How to do delay load in Mingw-w64

2014-04-29 Thread lh_mouse
0) http://stackoverflow.com/questions/1238035/what-is-libtools-la-file-for 1) Practically, I don't think .la files are useful on Windows. Neither do .dll.a files. -- Best regards, lh_mouse 2014-04-29

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread lh_mouse
are in different folders. -- Best regards, lh_mouse 2014-05-05 - 发件人:YIRAN LI mrfun.ch...@gmail.com 发送日期:2014-05-05 16:34 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] how to remove

[Mingw-w64-public] Fls API bug?

2014-06-08 Thread lh_mouse
regards, lh_mouse 2014-06-09 test.cpp Description: Binary data -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three

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

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

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

2014-06-22 Thread lh_mouse
; } -- Best regards, lh_mouse 2014-06-22 - 发件人:Ivan Garramona heavenandhell...@gmail.com 发送日期:2014-06-22 12:03 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] problem with compiler not concatenating

[Mingw-w64-public] corrupted dtor call of thread_local object on i686?

2014-06-24 Thread lh_mouse
// - what is this? E:\Desktopg++ test.cpp -std=c++1y -static E:\Desktopa ctor of 0 ctor of 2 ctor of 3 ctor of 4 dtor of 2 dtor of 2686628 dtor of 3 dtor of 0 -- Best regards, lh_mouse 2014-06-25 test.cpp Description: Binary data

Re: [Mingw-w64-public] ICE with 4.9 on simple code (regression)

2014-07-17 Thread lh_mouse
libraries(here, libstdc++) are developed by different teams, and otherwise people might not be able to tell who went wrong. -- Best regards, lh_mouse 2014-07-17 - 发件人:Renaud Lepère

Re: [Mingw-w64-public] ICE with 4.9 on simple code (regression)

2014-07-17 Thread lh_mouse
-- Best regards, lh_mouse 2014-07-18 -- 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

Re: [Mingw-w64-public] fork is an inbuilt function?

2014-07-23 Thread lh_mouse
; -- Best regards, lh_mouse 2014-07-24 - 发件人:Suresh Govindachar sgovindac...@yahoo.com 发送日期:2014-07-24 09:53 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] fork is an inbuilt function? Well, I too was about to write

Re: [Mingw-w64-public] fork is an inbuilt function?

2014-07-23 Thread lh_mouse
of the function call is used by the caller, the behavior is undefined. -- Best regards, lh_mouse 2014-07-24 - 发件人:Óscar Fuentes o...@wanadoo.es 发送日期:2014-07-24 10:52 收件人:mingw-w64-public 抄送: 主题

Re: [Mingw-w64-public] emutls?

2014-08-13 Thread lh_mouse
, but in emutls the total number of TLS slots is limited only by available RAM. -- Best regards, lh_mouse 2014-08-13 - 发件人:Slava viatcheslav.sysolt...@h-d-gmbh.de 发送日期:2014-08-13 16:34 收件人:mingw

[Mingw-w64-public] ICE caused by using __builtin_ia32_pause() inside C++11 noexcept functions

2014-08-14 Thread lh_mouse
? -- Best regards, lh_mouse 2014-08-15 -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https

Re: [Mingw-w64-public] Slow pseudo-relocations

2014-08-15 Thread lh_mouse
E:\Desktop\mingw-w64-mingw-w64grep -nr MINGW64_VERSION_MAJOR . (... omitted ...) ./mingw-w64-headers/crt/_mingw_mac.h:14:#define __MINGW64_VERSION_MAJOR 4 -- Best regards, lh_mouse 2014-08-15

Re: [Mingw-w64-public] comdef.h / comip.h header mismatch

2014-09-22 Thread lh_mouse
Dynamic exception specification is deprecated since C++11. I vote for removing it. -- Best regards, lh_mouse 2014-09-23 - 发件人:G M gmiso...@gmail.com 发送日期:2014-09-23 12:18 收件人:mingw-w64

Re: [Mingw-w64-public] std::thread and memory leaks

2014-09-28 Thread lh_mouse
mingw-w64-libraries/winpthread/src/spinlock.c:66 int initrv = pthread_spin_init (lock, PTHREAD_PROCESS_PRIVATE); There is no corresponding pthread_spin_destroy() for this lock, hence its memory leaks. -- Best regards, lh_mouse 2014-09-28

[Mingw-w64-public] Fw: Re: Re: Potential memory leaks in exception handling?

2014-11-01 Thread lh_mouse
exception caught, e = 12345 -- (Stud PE reported no malloc() or free() was imported from msvcrt.dll.) -- Best regards, lh_mouse 2014-11-01 - 发件人:dw limegreenso...@yahoo.com 发送日期:2014-11-01 11:18 收

Re: [Mingw-w64-public] [PATCH] Copy getpid declaration in process.h to unistd.h

2014-11-07 Thread lh_mouse
Minor suggestion: use the word `DECLARED` instead `DEFINED` please. -- Best regards, lh_mouse 2014-11-07 - 发件人:Dongsheng Song dongsheng.s...@gmail.com 发送日期:2014-11-07 16:01 收件人:mingw64 抄送

Re: [Mingw-w64-public] Help required about process and dll injection

2014-11-14 Thread lh_mouse
it, but it should work. Some debuggers (specifically, OllyDbg) have an option to decide where the first breakpoint should be set, at system breakpoint(before any DLLs are loaded), PE entry(the point mentioned above), or WinMain. -- Best regards, lh_mouse 2014-11-14

Re: [Mingw-w64-public] Help required about process and dll injection

2014-11-14 Thread lh_mouse
regards, lh_mouse 2014-11-14 - 发件人:Vincent Torri vincent.to...@gmail.com 发送日期:2014-11-14 23:49 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] Help required about process and dll injection Hey, thanks

Re: [Mingw-w64-public] redirectable output in under windows

2014-12-04 Thread lh_mouse
, lh_mouse 2014-12-05 - 发件人:Mark Cianfaglione m.cianfagli...@valydate.com 发送日期:2014-12-05 04:28 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] redirectable output in under windows Folks I know this might be a little off list but does anyone

Re: [Mingw-w64-public] bug in ftream RE: .tellg() and .seekg()

2014-12-05 Thread lh_mouse
()-pubseekoff(0, cur, in). It's highly probable that you are using eof() in a WRONG way. So provide a minimal testcase please. -- Best regards, lh_mouse 2014-12-06 - 发件人:Jim Michaels jmich

Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-18 Thread lh_mouse
By saying 'pointer to DWORD' you are gonna need 'PDWORD' and 'LPDWORD'. No *_PTR types are pointers. This is true even for C99 intptr_t and uintptr_t. -- Best regards, lh_mouse 2014-12-19

Re: [Mingw-w64-public] why isn't UINT64_MAX usable when countdown reaches past 0 to -1?

2014-12-18 Thread lh_mouse
Obviously i = 18446744073709551615 = UINT64_MAX / 10. You must have somehow changed i in your loop. Also I don't know why you use an #if ... #else ... #endif here. -- Best regards, lh_mouse 2014-12-19

Re: [Mingw-w64-public] Out of memory for cc1plus

2014-12-24 Thread lh_mouse
It seems a gcc bug. You can file a bug report at http://gcc.gnu.org/bugzilla/, with properly processed source files please. -- Best regards, lh_mouse 2014-12-24 - 发件人:Edward Diener

[Mingw-w64-public] libwinpthread and C++ constexpr problems

2015-05-01 Thread lh_mouse
and std::condition_variable. But I still suggest you rewrite libwinpthread so that we initialize `pthread_mutex_t` (aka void *) with 0, so no reinterpret_cast is needed. Looking forward to your reply. -- Best regards, lh_mouse 2015-05-01

Re: [Mingw-w64-public] how to use ld.gold as the linker?

2015-05-17 Thread lh_mouse
I suggest you take a look at precompiled headers. (https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html) According to my experience it could cut C++ compile time by about 40% on Windows (and about 60%-70% on Linux). -- Best regards, lh_mouse

Re: [Mingw-w64-public] how do I remove this window

2015-05-20 Thread lh_mouse
When linking, add -subsystem=windows to your linker command line. If we use gcc/g++ to link, the command line would look like: gcc main.o foo.o bar.o -Wl,-subsystem,windows -- Best regards, lh_mouse 2015-05-21

Re: [Mingw-w64-public] Multiple definition issue with -flto, MinGW-w64 4.9.1

2015-05-21 Thread lh_mouse
What g++ version were you using? What were the exact command lines you used to build your program? -- Best regards, lh_mouse 2015-05-21 - 发件人:Etienne Sandré-Chardonnal etienne.san

Re: [Mingw-w64-public] Mingw-64 and MSVC x64 ABI

2015-06-17 Thread lh_mouse
g++ and clang++ use Itanium ABI while MSVC uses some M$ specific, unpublished ABI. Hence it is not surprising that they are incompatible with each other. -- Best regards, lh_mouse 2015-06-18

Re: [Mingw-w64-public] Multiple definition issue with -flto, MinGW-w64 4.9.1

2015-05-29 Thread lh_mouse
pointers becoming null, random segment faults, etc... I strongly suggest you not use flto in production builds. -- Best regards, lh_mouse 2015-05-29 - 发件人:Etienne Sandré-Chardonnal etienne.san

Re: [Mingw-w64-public] [[ noreturn ]]

2015-05-28 Thread lh_mouse
Read the error message and make your function never return. That is all. Paste a testcase next time. -- Best regards, lh_mouse 2015-05-29 - 发件人:Hotmail \(ArbolOne\) arbol...@hotmail.ca 发送日期

Re: [Mingw-w64-public] I am in a in-path

2015-05-27 Thread lh_mouse
(complex?) exception class' you are likely doing it wrong. Double check your design. -- Best regards, lh_mouse 2015-05-28 - 发件人:Riot rain.back...@gmail.com 发送日期:2015-05-28 07:58 收件人:mingw

Re: [Mingw-w64-public] GCCG with C++11

2015-05-28 Thread lh_mouse
http://en.cppreference.com/w/cpp/compiler_support Function testing macros: __GNUC__ and __GNUC_MINOR__ Example: #if __GNUC__ * 100 + __GNUC_MINOR__ = 407 // compile iff we are on g++ 4.7 or later -- Best regards, lh_mouse 2015-05-28

Re: [Mingw-w64-public] Multiple definition issue with -flto, MinGW-w64 4.9.1

2015-05-21 Thread lh_mouse
, specific mechanisms that rely on RTTI - dynamic_cast, exceptions, etc - might fail if RTTI of the same class is used across dynami clibrary boundaries.) -- Best regards, lh_mouse 2015-05-21 - 发件人

Re: [Mingw-w64-public] Multiple definition issue with -flto, MinGW-w64 4.9.1

2015-05-21 Thread lh_mouse
You didn't specify -flto in your linker command line. Add that and try again. https://gcc.gnu.org/wiki/LinkTimeOptimization -- Best regards, lh_mouse 2015-05-21 - 发件人:Etienne Sandré

Re: [Mingw-w64-public] Patch for locking printf

2015-08-02 Thread lh_mouse
, write, position, or query the position of a stream lock the stream before accessing it. They release the lock associated with the stream when the access is complete. -- Best regards, lh_mouse 2015-08-03

Re: [Mingw-w64-public] no function forstd::ifstreamwchar_t::open(const wchar_t*)?

2015-06-29 Thread lh_mouse
. -- Best regards, lh_mouse 2015-06-30 - 发件人:p...@arbolone.ca 发送日期:2015-06-30 01:16 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] no function forstd::ifstreamwchar_t::open(const wchar_t*)? The standard C++ has major, and I mean

Re: [Mingw-w64-public] [[deprecated]]

2015-07-16 Thread lh_mouse
. -- Best regards, lh_mouse 2015-07-16 - 发件人:p...@arbolone.ca 发送日期:2015-07-16 11:58 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] [[deprecated]] Thanks for the reply, one more question. Am I to use

Re: [Mingw-w64-public] [patch] Replace struct timeval usage

2015-10-30 Thread lh_mouse
3.74): the structure is defined in . The POSIX.1-2001 situation is struct timeval { time_t tv_sec; /* seconds */ suseconds_ttv_usec;/* microseconds */ }; -- lh_mouse 2015-10-31

Re: [Mingw-w64-public] setjmp/longjmp crashes, second setjmp argument

2015-09-28 Thread lh_mouse
Did `setjmp` macro take two parameters? -- lh_mouse 2015-09-29 - 发件人:Thomas Bickel <tmb...@gmail.com> 发送日期:2015-09-28 23:15 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] setjmp/l

Re: [Mingw-w64-public] compiling nano-win from linux for windows 7 [done]

2016-01-04 Thread lh_mouse
, lh_mouse 2016-01-04 - 发件人:frank <frank_n_d...@yahoo.com> 发送日期:2016-01-04 15:54 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] compiling nano-win from linux for windows 7 [done] On 02/01/2016 08:19, lh_mouse wrote: > Yo

Re: [Mingw-w64-public] compiling nano-win from linux for windows 7 64bit

2016-01-02 Thread lh_mouse
You can try attaching your config.log here and let me take a look. I haven't cross compiled anything yet. Well, native only. -- Best regards, lh_mouse 2016-01-02 - 发件人:frank <frank_

Re: [Mingw-w64-public] compiling nano-win from linux for windows 7 64bit

2015-12-31 Thread lh_mouse
to change that. I have modified BUILD_IT and now we have two variables '$host' and '$build' in the front of it. These variables are invoked for each 'configure' call so we no longer to modify it everywhere. Good luck. -- Best regards, lh_mouse 2015-12

Re: [Mingw-w64-public] vsnprintf_s found by default though not present in XP, expected?

2015-12-29 Thread lh_mouse
That was because the 'libmsvcrt.a' library was created using a new version of MSVCRT.DLL which exported the function, but the MSVCRT.DLL shipped with Windows XP didn't. -- lh_mouse 2015-12-30

Re: [Mingw-w64-public] compiling from linux for windows 7

2015-12-30 Thread lh_mouse
. spell checker and ^Z) removed. Either Alt key works as Meta key. -- Best regards, lh_mouse 2015-12-30 - 发件人:JonY <jo...@users.sourceforge.net> 发送日期:2015-12-30 23:23 收件人:mingw-w64-pu

Re: [Mingw-w64-public] compiling nano-win from linux for windows 7 64bit

2015-12-31 Thread lh_mouse
. -) versions of regex.h: http://stackoverflow.com/questions/3781211/c-regex-library-with-mingw -- Best regards, lh_mouse 2016-01-01 - 发件人:frank <frank_n_d...@yahoo.com> 发送日期:2016-01

Re: [Mingw-w64-public] compiling nano-win from linux for windows 7 64bit

2016-01-01 Thread lh_mouse
2) '--host-x86_64-w64-mingw32' isn't a valid configure option, maybe you meant '--host=x86_64-w64-mingw32' ? 4) This error is very common. You are going to need to take a look at config.log to find out why. -- Best regards, lh_mouse 2016-01-01

[Mingw-w64-public] Adding a new thread model to GCC

2016-04-13 Thread lh_mouse
know how to add a new thread model in GCC, I would appreciate that. Also, this library has not been fully tested. If someone has interest in exploring how it works or testing it, I might be able to help. -- Best regards, lh_mouse 2016-04-13

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-13 Thread lh_mouse
btw this could be one or two days later. :<) -- Best regards, lh_mouse 2016-04-13 - 发件人:Jonathan Wakely <jwakely@gmail.com> 发送日期:2016-04-13 18:30 收件人:lh_mouse 抄送:gcc,mingw-w64-

Re: [Mingw-w64-public] improper errors on what should be valid code syntax

2016-03-31 Thread lh_mouse
. -- 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 vali

Re: [Mingw-w64-public] improper errors on what should be valid code syntax

2016-03-31 Thread lh_mouse
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

Re: [Mingw-w64-public] How to make __declspec(dllexport) more picky?

2016-04-01 Thread lh_mouse
a bug report at https://gcc.gnu.org/bugzilla/. -- Best regards, lh_mouse 2016-04-01 - 发件人:Tony Kelman <t...@kelman.net> 发送日期:2016-04-01 14:02 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-

Re: [Mingw-w64-public] How to make __declspec(dllexport) more picky?

2016-04-01 Thread lh_mouse
MSVC is irrelevant. You should have read the friendly GCC manual I think. https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gcc/Function-Attributes.html#index-g_t_0040code_007bdllexport_007d-function-attribute-3069 -- Best regards, lh_mouse 2016-04-01

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-14 Thread lh_mouse
/lhmouse/mcfgthread/blob/master/src/env/_nt_timeout.h?ts=4#L15 -- Best regards, lh_mouse 2016-04-14 - 发件人:Ruben Van Boxem <vanboxem.ru...@gmail.com> 发送日期:2016-04-14 18:17 收件人:mingw-w64-

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-14 Thread lh_mouse
regards, lh_mouse 2016-04-14 - 发件人:Ruben Van Boxem <vanboxem.ru...@gmail.com> 发送日期:2016-04-14 18:17 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] Adding a new thread model to GCC I'd really really really s

Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-24 Thread lh_mouse
' for semantical correctness reasons. -- Best regards, lh_mouse 2016-04-24 - 发件人:LRN <lrn1...@gmail.com> 发送日期:2016-04-24 18:36 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] [PATCH

Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-24 Thread lh_mouse
integer type. -- Best regards, lh_mouse 2016-04-24 - 发件人:LRN <lrn1...@gmail.com> 发送日期:2016-04-23 03:38 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] [PATCH

[Mingw-w64-public] Hard-coded C++ paths and reloation problem on Windows

2016-04-28 Thread lh_mouse
or: stdlib.h: No such file or directory #include_next ^ compilation terminated. ``` Do you know how to solve this problem (modifications to gcc source code are expected)? Thanks in advance. -- Best regards, lh_mouse 2

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-15 Thread lh_mouse
test whether it is working. -- Best regards, lh_mouse 2016-04-15 - 发件人:Yuta Nakai <nak5...@live.jp> 发送日期:2016-04-15 22:09 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] Adding a new thread model to GCC Wha

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-15 Thread lh_mouse
According to Alexpux's reply patches could be found on GitHub: $ git clone https://github.com/Alexpux/MINGW-packages.git -- Best regards, lh_mouse 2016-04-15 - 发件人:Nakai Yuta <n

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-17 Thread lh_mouse
ow libstdc++ handles this. -- Best regards, lh_mouse 2016-04-18 -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-18 Thread lh_mouse
relative time the > conversion from a { seconds, nanoseconds } struct to milliseconds is > trivial, for functions taking an absolute time you need to know the > epoch of the clock that was used when populating the struct. Will do that next week.

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-20 Thread lh_mouse
eneration? And where is it involved? -- Best regards, lh_mouse 2016-04-20 -- Find and fix application performance issues faster with Applications Manager Applications Manager

Re: [Mingw-w64-public] [Msys2-users] Where can I get an up-to-data patch list for building a native GCC on Windows?

2016-04-14 Thread lh_mouse
Great job. Thanks a lot! -- Best regards, lh_mouse 2016-04-15 - 发件人:Alexpux <alex...@gmail.com> 发送日期:2016-04-15 01:33 收件人:lh_mouse 抄送:mingw-w64-public,Msys2 主题:Re: [Msys2-users] [Min

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-14 Thread lh_mouse
ime that the problem is. -- Best regards, lh_mouse 2016-04-15 - 发件人:Adrien Nader <adr...@notk.org> 发送日期:2016-04-14 19:42 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] Adding a new t

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-19 Thread lh_mouse
/lhmouse/mcfgthread/tree/master/release Problem reports and suggestions are welcome. :> Thanks for your help and interest! -- Best regards, lh_mouse 2016-04-19 -- Find and

[Mingw-w64-public] Where can I get an up-to-data patch list for building a native GCC on Windows?

2016-04-14 Thread lh_mouse
that I ask whether there were some patches for GCC on IRC. So here is my question: Where can I get an up-to-data patch list for building a native GCC on Windows? Thanks in advance. -- Best regards, lh_mouse 2016-04-15

Re: [Mingw-w64-public] Where can I get an up-to-data patch list for building a native GCC on Windows?

2016-04-14 Thread lh_mouse
Oh the attachment was filtered out because it was too big. Compressed and uploaded again. -- Best regards, lh_mouse 2016-04-15 - 发件人:"lh_mouse"<lh_mo...@126.com> 发送日期:2016

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-13 Thread lh_mouse
either efficiency or maintainability. Linux and Windows work differently. I consider it 'harmful' to make one look like the other. -- Best regards, lh_mouse 2016-04-14 - 发件人:Torvald Riegel

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-13 Thread lh_mouse
of it. -- Best regards, lh_mouse 2016-04-14 - 发件人:Dongsheng Song <dongsheng.s...@gmail.com> 发送日期:2016-04-14 11:02 收件人:lh_mouse 抄送:Torvald Riegel,gcc,mingw-w64-public 主题:Re: Re: Adding a new thread model to GCC Currently, --

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-18 Thread lh_mouse
? -- Best regards, lh_mouse 2016-04-18 -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple

Re: [Mingw-w64-public] Adding a new thread model to GCC

2016-04-18 Thread lh_mouse
Oh I missed the build-in specs in gcc/config/i386/mingw32.h and it was lack of -lmcfgthread in it that caused the failure. Stage 1 seemed ok. Already hacked that. Rebuilding. Apologize for that. -- Best regards, lh_mouse 2016-04-18

Re: [Mingw-w64-public] [PATCH 1/2] include/ddk: Synchronize with ReactOS (1/2).

2019-05-23 Thread LH_Mouse
mit contains all headers that have been modified. > > > What did you do about mingw-w64 modifications? > > > Jacek > There is no modification. Everything has been copied as is. I have no idea whether it will work or not