:
#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
| 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
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
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
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
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
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
: 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
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
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
, 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
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
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
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
() 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
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
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
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
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
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
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
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
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
;
}
--
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
// - 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
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
--
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
;
--
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
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
抄送:
主题
, 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
?
--
Best regards,
lh_mouse
2014-08-15
--
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https
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
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
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
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
收
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
抄送
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
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
,
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
()-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
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
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
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
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
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
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
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
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
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
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
发送日期
(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
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
, 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
-
发件人
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é
, 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
.
--
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
.
--
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
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
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
,
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
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_
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
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
. 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
. -) 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
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
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
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-
.
--
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
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
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-
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
/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-
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
' 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
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
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
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
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
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
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.
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
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
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
/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
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
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
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
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, --
?
--
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
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
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
92 matches
Mail list logo