Re: [Tinycc-devel] Mob has been reverted

2014-06-28 Thread Thomas Preud'homme
Le mardi 24 juin 2014, 23:06:50 David Mertens a écrit : Hey everyone, This, at least, is what I intended to do. I would appreciate if others could double-check that I performed the cherry picking and merging correctly. I do not perform this sort of work often. Looks correct on my side.

Re: [Tinycc-devel] incorrect/missing license files

2014-06-28 Thread Thomas Preud'homme
Le vendredi 27 juin 2014, 20:45:55 Vincent Lefevre a écrit : On 2014-06-27 11:30:54 -0500, Evan Langlois wrote: Stupid legal question. If TCC is GPL (rather than lesser GPL) and you link with libtcc, then you would end up with software that was GPL. This may be significant.

[Tinycc-devel] On Windows assert() definition is not complete

2014-06-28 Thread YX Hao
Hi, This is found when I build and use the posix c regex (v2.19) on windows. TCC uses mingw-w64's assert.h, and it assumes extern _wassert( ). Here is the problem. The function _wassert( ) can be found, for example, in win7's msvcrt.dll, but can not be found in XP's msvcrt.dll. Code reference:

Re: [Tinycc-devel] Request push

2014-06-28 Thread Thomas Preud'homme
Le lundi 23 juin 2014, 23:56:10 jiang a écrit : I'll push a patch. I'll take this as I'd like to commit/push this patch, what do you think of it? The patch itself looks good but it would be better if you add a testcase that would fail without your patch. You already have a program that

Re: [Tinycc-devel] A few omissions from the docs

2014-06-28 Thread Thomas Preud'homme
Le mercredi 18 juin 2014, 10:37:20 Wendell P a écrit : I found a few things missing from the documentation. 1. In addition to -vv, there is also -vvv, which behaves a little differently. Right. I cannot commit now, would you be willing to make a patch for this? 2. The -E switch to

Re: [Tinycc-devel] build error on FreeBSD

2014-06-28 Thread Thomas Preud'homme
Le dimanche 08 juin 2014, 09:09:42 z_axis a écrit : $ git pull Already up-to-date. tinycc $ gmake gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_I386 -I. -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 tccelf.c: In function 'layout_sections':

[Tinycc-devel] TinyCC contributors attending GNU Tools Cauldron

2014-06-28 Thread Thomas Preud'homme
Hi there, In three weeks will be the GNU Tools Cauldron. I'm going to attend it (it will be my first time) and I was wondering if some of you would come there. I noticed some familiar names when joining the GCC community so I guess some of you will come. I'd be happy to meet you there but

Re: [Tinycc-devel] TinyCC contributors attending GNU Tools Cauldron

2014-06-28 Thread Michael Matz
Hi, On Sat, 28 Jun 2014, Thomas Preud'homme wrote: In three weeks will be the GNU Tools Cauldron. I'm going to attend it (it will be my first time) and I was wondering if some of you would come there. I noticed some familiar names when joining the GCC community so I guess some of you will

Re: [Tinycc-devel] Crosscompiling

2014-06-28 Thread Michael Matz
On Fri, 27 Jun 2014, Markus Bergholz wrote: Make it clear where “mexPrintf” is defined and why it is not effective. mexPrintf is defined in /usr/include/octave-3.8.1/octave/mexproto.h afaiu. That's a declaration, not a definition. The definition comes from some Octave

[Tinycc-devel] To document -l option clearer

2014-06-28 Thread YX Hao
Hi, Usage: tcc [options...] [-o outfile] [-c] infile(s)... Is -l option must follow the infile(s)? Yes! I tried different positions. Before, undefined symbol error; behind, ok. Because of I had forgotten it. Usually, a library is appended by reviewing. I searched and found the reason out. A

[Tinycc-devel] Request push

2014-06-28 Thread ??????
Thank you Thomas, I hope you agree with my request. I'll change it a warning message, and then add some tests, along with a push up! Not follow GCC blindly. I was too blind! I'm not very familiar with C99, but I think there is a lot to learn from GCC place! jiang I'll push a patch.