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

Re: [Mingw-w64-public] [PATCH] crt: Add missing snprintf aliases

2016-04-29 Thread lh_mouse
se an overflow apparently), effectively outputting '-56789'. -- Best regards, lh_mouse 2016-04-29 - 发件人:Hugo Beauzée-Luyssen 发送日期:2016-04-29 17:09 收件人:mingw-w64-public 抄送: 主题:

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

2016-04-28 Thread lh_mouse
l error: 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_mo

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

2016-04-24 Thread lh_mouse
instead of 'int' for semantical correctness reasons. -- Best regards, lh_mouse 2016-04-24 - 发件人:LRN 发送日期:2016-04-24 18:36 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] [PAT

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

2016-04-24 Thread lh_mouse
e a 64-bit integer type. -- Best regards, lh_mouse 2016-04-24 - 发件人:LRN 发送日期:2016-04-23 03:38 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] [PATCH] Cast certain en

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

2016-04-20 Thread lh_mouse
n of GCC. Does it have anything to do with code generation? And where is it involved? -- Best regards, lh_mouse 2016-04-20 -- Find and fix application performance issu

[Mingw-w64-public] __attribute__((__force_align_arg_pointer__)) and callbacks when SSE is enabled

2016-04-19 Thread lh_mouse
ed or not, elimiating the need to specify __attribute__((__force_align_arg_pointer__)) everywhere. Discussion is welcome. -- Best regards, lh_mouse 2016-04-20 -- Find an

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

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

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

2016-04-18 Thread lh_mouse
sion 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. Still need t

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

2016-04-18 Thread lh_mouse
take a deep look. Thanks for your help! -- Best regards, lh_mouse 2016-04-18 -- Find and fix application performance issues faster with Applications Manager Applications M

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] Adding a new thread model to GCC

2016-04-18 Thread lh_mouse
on. How to solve this problem? -- Best regards, lh_mouse 2016-04-18 -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep perf

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

2016-04-17 Thread lh_mouse
libstdc++ handles this. -- 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-15 Thread lh_mouse
step bootstrap of GCC and test whether it is working. -- Best regards, lh_mouse 2016-04-15 - 发件人:Yuta Nakai 发送日期:2016-04-15 22:09 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] Adding a new thread model to GCC W

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 发送日期:20

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

2016-04-14 Thread lh_mouse
he current system time that the problem is. -- Best regards, lh_mouse 2016-04-15 - 发件人:Adrien Nader 发送日期:2016-04-14 19:42 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] Adding a new thread model to GCC On

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 发送日期:2016-04-15 01:33 收件人:lh_mouse 抄送:mingw-w64-public,Msys2 主题:Re: [Msys2-users] [Mingw-w64-public] Where can I

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" 发送日期:2016-04-15 01:04 收件人:mingw-

[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] Adding a new thread model to GCC

2016-04-14 Thread lh_mouse
Best regards, lh_mouse 2016-04-14 - 发件人:Ruben Van Boxem 发送日期: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 suggest just using --enab

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

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

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

2016-04-13 Thread lh_mouse
f it. -- Best regards, lh_mouse 2016-04-14 - 发件人:Dongsheng Song 发送日期:2016-04-14 11:02 收件人:lh_mouse 抄送:Torvald Riegel,gcc,mingw-w64-public 主题:Re: Re: Adding a new thread model to GCC Currently, --enable-threads=win32 map to

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

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 发送日期:2016-04-13 18:30 收件人:lh_mouse 抄送:gcc,mingw-w64-public 主题:Re: Adding a new

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

2016-04-13 Thread lh_mouse
on about that. If someone 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 reg

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

2016-03-31 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] How to make __declspec(dllexport) more picky?

2016-03-31 Thread lh_mouse
u can file a bug report at https://gcc.gnu.org/bugzilla/. -- Best regards, lh_mouse 2016-04-01 - 发件人:Tony Kelman 发送日期:2016-04-01 14:02 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] H

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] improper errors on what should be valid code syntax

2016-03-31 Thread lh_mouse
undefined. -- Best regards, lh_mouse 2016-04-01 - 发件人:Jim Michaels 发送日期:2016-04-01 00:30 收件人:mingw64 users 抄送: 主题:[Mingw-w64-public] improper errors on what should be valid code syntax c

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

2016-01-04 Thread lh_mouse
Best regards, lh_mouse 2016-01-04 - 发件人:frank 发送日期: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: >

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 发送日期:20

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 reg

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

2015-12-31 Thread lh_mouse
different. -) versions of regex.h: http://stackoverflow.com/questions/3781211/c-regex-library-with-mingw -- Best regards, lh_mouse 2016-01-01 - 发件人:frank 发送日期:2016-01-01 01:42 收件人:mingw-w6

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

2015-12-31 Thread lh_mouse
Linux you are going to need 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. --

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 发送日期:2015-12-30 23:23 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public

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_m

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

2015-10-30 Thread lh_mouse
001 version (quoted from Linux man-pages 3.74): the structure is defined in . The POSIX.1-2001 situation is struct timeval { time_t tv_sec; /* seconds */ suseconds_ttv_usec;/* microseconds */ }; --

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 发送日期:2015-09-28 23:15 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] setjmp/longjmp crashes, second

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

2015-08-02 Thread lh_mouse
read, 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-

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

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

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

2015-06-29 Thread lh_mouse
rewrite a huge amount of code. ------ Best regards, lh_mouse 2015-06-30 - 发件人: 发送日期:2015-06-30 01:16 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] no function forstd::ifstream::open(const wchar_t*)? The standard C++ has major, a

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 发送日期:2015-05

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\)" 发送日期:2015-0

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

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

2015-05-27 Thread lh_mouse
mplex?) exception class' you are likely doing it wrong. Double check your design. -- Best regards, lh_mouse 2015-05-28 - 发件人:Riot 发送日期:2015-05-28 07:58 收件人:mingw-w64-public 抄送:gcc-help Maili

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 S

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 发送日期:2015-05-21 14

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] 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

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

2015-05-01 Thread lh_mouse
d 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-

Re: [Mingw-w64-public] Is there a way to figure out why - cc1plus.exe has stopped working

2015-04-14 Thread lh_mouse
-gcc for a couple of years and have encountered few problems. -- Best regards, lh_mouse 2015-04-15 - 发件人:James Franco 发送日期:2015-04-15 04:29 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public

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 发送日期

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-

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. -- Bes

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 Michae

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

2014-12-04 Thread lh_mouse
gards, lh_mouse 2014-12-05 - 发件人:Mark Cianfaglione 发送日期: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 have a good way (in

Re: [Mingw-w64-public] Build MinGW-w64 from Git on Linux

2014-11-26 Thread lh_mouse
Install headers into your system directory please. Specifically, if you are using mingwbuilds, you should set --prefix= to /i686-w64-mingw32 or /x86_64-w64-mingw32. -- Best regards, lh_mouse 2014-11-27

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

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

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

2014-11-14 Thread lh_mouse
ut 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-

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 发送日期:2014-11-07 16:01 收件人:mingw64 抄送: 主题:[Mingw-w64-public

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

2014-10-31 Thread lh_mouse
e -lmingwex -lmsvcrt -static E:\Desktop>a exception caught, e = 12345 -- (Stud PE reported no malloc() or free() was imported from msvcrt.dll.) -- Best regards, lh_mouse 2014-11-01 -

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

2014-09-27 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

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 发送日期:2014-09-23 12:18 收件人:mingw-w64-public 抄送: 主题:[Mingw

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

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

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

2014-08-14 Thread lh_mouse
E. (gcc 4.9.0) Any ideas? -- Best regards, lh_mouse 2014-08-15 -- ___ Mingw-w64-public mailing list Mingw-w64-public@lis

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 发送日期:2014-08-13 16:34 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-p

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

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

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

2014-07-23 Thread lh_mouse
; -- Best regards, lh_mouse 2014-07-24 - 发件人:Suresh Govindachar 发送日期:2014-07-24 09:53 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] fork is an inbuilt function? Well, I too was about to write that -- but didn't since with a

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 the

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 发送日期

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

2014-06-24 Thread lh_mouse
f 0 dtor of 2686520// <- what is this? E:\Desktop>g++ test.cpp -std=c++1y -static E:\Desktop>a 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.

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

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

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

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

[Mingw-w64-public] Fls API bug?

2014-06-08 Thread lh_mouse
t.obj ------ Best 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

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

2014-05-05 Thread lh_mouse
different folders. -- Best regards, lh_mouse 2014-05-05 - 发件人:YIRAN LI 发送日期:2014-05-05 16:34 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

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

2014-05-05 Thread lh_mouse
ibgcc'. -- Best regards, lh_mouse 2014-05-05 - 发件人:YIRAN LI 发送日期:2014-05-05 15:19 收件人:mingw-w64-public 抄送: 主题:[Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency Hi, I'm building an opensource pro

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-

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 发送时间:2014-04-26 21:20 主题:Re: [Mingw-w64-public] Do I need -flto when building a static lib? 收件人:"mingw-w64-public" 抄送: Are you

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 发送时间:2014-04-26 21:20 主题:Re: [Mingw-w64-public] Do I need -flto when building a static lib? 收件人:"mingw-w64-public" 抄送: Are you using GCC 4.9.0? Since GCC 4.9.0, LTO-enabled object file doesn't contain normal object c

[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:\Desktop>gcc foo.c -c -flto E:\Desktop>ar rcs libfoo.a foo.o E:\Desktop>gcc main.c -L. -lfoo -flto C:\Users\LH_Mouse\AppData\Local\Temp\ccc30oDd.ltrans0.ltrans.o:ccc30oDd.ltrans0.o:(.text+0x1e): undefined ref

[Mingw-w64-public] Problems in retrieving stack backtrace in the case of c++ exceptions

2014-04-24 Thread lh_mouse
----- Best regards, lh_mouse 2014-04-25 -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud

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

2014-04-06 Thread lh_mouse
Built by MinGW-W64 project) Any ideas? -- Best regards, lh_mouse 2014-04-06 -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://l

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

2014-03-29 Thread lh_mouse
return std::make_pair(nullptr, 0); } }; static void foo(const std::pair (&a)[2]) noexcept { } int main(){ S s; foo({s.get_pair(), s.get_pair()}); } -- Best regar

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

2014-02-25 Thread lh_mouse
t 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-

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 发送日期:2014-02-21 15:36 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] build cross compiler mingw

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] 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 Enterp

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

2014-01-23 Thread lh_mouse
Runtime 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 rega

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

2014-01-23 Thread lh_mouse
-sjlj and x86_64-seh were ok. It seemed that the crash was caused by the dwarf2 exception-handling mechanism. Any ideas? 2014-01-23 lh_mouse -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More

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

[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] Potential memory leaks in exception handling?

2014-01-16 Thread lh_mouse
6. If we say 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 Bu

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-1

[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] 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

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

2014-01-09 Thread lh_mouse
t or binary) shall be used if fdopen() mode conficts with open() mode. And that's my question. 2014-01-09 lh_mouse 发件人:Hannes Domani 发送时间:2014-01-09 19:19 主题:Re: [Mingw-w64-public] Text/binary mode bug

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

2014-01-09 Thread lh_mouse
.txt", O_WRONLY | 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 );

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

2014-01-06 Thread lh_mouse
errors if the file's name contains non-ASCII characters: #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 th

  1   2   >