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
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
抄送:
主题:
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
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
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
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
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
:
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
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
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
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
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
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
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
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
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
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
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-
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
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
:
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
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
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
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
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
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
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
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
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
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:
>
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
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
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
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.
--
. 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
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
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 */
};
--
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
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-
.
--
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
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
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
发送日期:2015-05
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
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
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
, 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 S
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
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
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
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-
-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
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
发送日期
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-
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
()->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
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
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
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
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-
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
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
-
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
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
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
E. (gcc 4.9.0)
Any ideas?
--
Best regards,
lh_mouse
2014-08-15
--
___
Mingw-w64-public mailing list
Mingw-w64-public@lis
, 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
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:
;
--
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
--
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
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
发送日期
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.
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
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
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
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
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
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-
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
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
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
-----
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
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
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
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-
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
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
, 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
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
-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
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
: 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
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
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
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
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
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
.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 );
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
100 matches
Mail list logo