On Tue, Nov 16, 2010 at 10:56:04PM -0600, Jared Maddox wrote:
> In short, if you want to provide support for C++ features to TinyCC
> (whether through a preprocessor, flags, or a separate program), please
> do it via templates and a variant of setjmp()/longjmp() that supports
> destructor registrat
On Fri, Dec 04, 2009 at 03:03:16PM -0800, k1w1 wrote:
> > The other is to extract all the prototypes into the .h files, and
> > to adjust them for static vs. non-static.
>
> This is exactly what I am doing. It is pretty tedious, but I think that once
> it is done it will be easier to navigate the
On Wed, Jun 24, 2009 at 03:42:25PM +0300, Deveah wrote:
> Hello,
> I just started coding in C and I wanted to make a simple roguelike. But
> I can't link (correctly) pdcurses.a to my app. GCC linked fine (gcc myrl.c
> -o myrl.exe -lpdcurses). Do I need some extra things in TCC?
> I'd like to
On Thu, Jun 18, 2009 at 11:30:54PM -0400, Ammar James wrote:
> In sectino 6.5.7.2 of the Standard, I believe it states that variable
> length arrays (VLAs) are supported as long as they are not in
> file-scope.
"TCC doesn't support variable length arrays, yet."
I'm thinking about trying to implem
On Mon, Jun 15, 2009 at 11:49:01PM +0200, grischka wrote:
> git push ssh://m...@repo.or.cz/srv/git/tinycc.git mob:mob
Thanks I've done that now.
A friend on #tcc and I are thinking of trying to do "linux from scratch"
using tcc, writing build scripts and fixing bugs as we go. We must have
too mu
hi,
thanks.
I switched to the "mob" branch and commited it locally, but the push
fails:
$ git push
fatal: unexpected EOF
I had cloned it like this:
git clone git://repo.or.cz/tinycc.git
maybe I'm doing something wrong?
I had redone what you did to add volatile before I noticed that you
if (!(vtop->type.t & VT_ARRAY)) {
vtop->r |= lvalue_type(vtop->type.t);
I don't know if this is the best way to fix it, but it does cause tcc to
generate the warning.
regards,
Sam Watkins
___
Tinycc-devel mailing
On Mon, Jun 15, 2009 at 04:17:17PM +0930, Daniel Burke wrote:
>Personally I interpret that as meaning it's expecting an ; where it found
>an =, although my C-fu is not strong enough to know if an extern
>declaration and an assignment are allowed in one statement
No you can't put an ext