Re: [Mingw-w64-public] Possible mingw gcc bug when testing -9223372036854775808 (2 ** 63)

2024-12-09 Thread Hannes Domani via Mingw-w64-public
Am Montag, 9. Dezember 2024 um 19:50:19 MEZ hat Johannes Khoshnazar-Thoma Folgendes geschrieben: > Hi: > > When compiling following C program: > > #include > > int main(int argc, char ** argv) > { > volatile unsigned long long a = 0; > volatile unsigned long long b = a + (1ULL << 63);

Re: [Mingw-w64-public] [PATCH 2/2] crt: Add (void(*)(void)) casts to silence warnings about function pointer casts

2024-09-23 Thread Hannes Domani via Mingw-w64-public
Am Montag, 23. September 2024 um 13:10:23 MESZ hat LIU Hao Folgendes geschrieben: > 在 2024-09-23 18:48, Martin Storsjö 写道: > > Well, as Liu Hao showed, using (void*) casts can get warned about, if we > > compile it with all > > available warning flags. But we don't build mingw-w64-crt that way

Re: [Mingw-w64-public] wspiapi.h:50:20: warning: cast between incompatible function types from ‘void (__attribute__((stdcall)) *)(struct addrinfo *)’ to ‘int (__attribute__((stdcall)) *)()’ [-Wcast-f

2024-08-05 Thread Hannes Domani via Mingw-w64-public
Am Montag, 5. August 2024 um 17:54:53 MESZ hat Pali Rohár Folgendes geschrieben: > On Monday 05 August 2024 23:04:21 LIU Hao wrote: > > 在 2024-08-05 20:14, Antonin Décimo 写道: > > > C99 in Annex J.5.7 Function pointer casts states: > > > 1 A pointer to an object or to void may be cast to a point

Re: [Mingw-w64-public] std::regex freezes in Japanese locale

2021-01-23 Thread Hannes Domani via Mingw-w64-public
Am Samstag, 23. Januar 2021, 16:46:18 MEZ hat Jeroen Ooms Folgendes geschrieben: > A user of the R programming language has reported that std::regex > causes a hang for certain regular expressions when running in Japanese > locale. I was able to reproduce this both with our production > toolchai

[Mingw-w64-public] new gdb build which can read/write windows minidump files

2019-02-02 Thread Hannes Domani via Mingw-w64-public
Hello I've just uploaded a new gdb build on: https://github.com/ssbssa/gdb/releases The most interesting added feature is that it can read windows minidump files (similar to how gdb handles core files on linux). Any comments are welcome. Regards Domani Hannes __

Re: [Mingw-w64-public] [BUG (suspicious)] gdb crashes when info registers

2018-05-03 Thread Hannes Domani via Mingw-w64-public
> 在 2018/5/3 9:03, 章成凯 写道: > > Sorry for that. > > I upload the attachment to google drive and post the link in the bug report: > > https://sourceforge.net/p/mingw-w64/bugs/731/ I'm pretty sure that it's this bug I reported a while ago: https://sourceware.org/bugzilla/show_bug.cgi?id=22854 I also

Re: [Mingw-w64-public] How to backtrace a crash with gdb on Windows 7

2018-01-18 Thread Hannes Domani via Mingw-w64-public
> (gdb) run > Starting program: C:\_64\comp\mpfr_bug\ggdb\mpfr-4.0.0\tests\tfprintf.exe > [New Thread 4680.0x160c] > > This application has requested the Runtime to terminate it in an unusual > way. > Please contact the application's support team for more information. > repl-vsnprintf.c:358: GNU M

Re: [Mingw-w64-public] swscanf() crashes if __USE_MINGW_ANSI_STDIO is defined

2017-11-11 Thread Hannes Domani via Mingw-w64-public
Am Samstag, 11. November 2017, 10:15:00 MEZ hat Liu Hao Folgendes geschrieben: > Debugging in assembly exposes indirection through a null pointer in > `mingw-w64-crt/stdio/mingw_wvfscanf.c` around or after line 906: > > ``` > optimize_alloc ((flags & IS_ALLOC_USED) != 0, pstr, str_sz, (wstr - >