[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] cast error bug?
From: |
Mirar |
Subject: |
Re: [Tinycc-devel] cast error bug? |
Date: |
Tue, 19 Oct 2004 23:03:15 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) |
Does it work better if you remove the "const"? There are other bugs
related to const struct something.
/Mirar
Ian Gulliver <address@hidden> writes:
> I'm trying to compile a library of mine, firestring, with tcc. Builds
> fine with gcc. Odd error building with tcc, that looks like a bug to
> me:
>
> firestring.c:1175: cannot cast 'long long *(const struct firestring_estr_ts
> *, void *)' to 'long long *(const struct firestring_estr_ts *, void *)'
>
> Broken out, that looks like:
>
> firestring.c:1175: cannot cast
> 'long long *(const struct firestring_estr_ts *, void *)' to
> 'long long *(const struct firestring_estr_ts *, void *)'
>
> Source is here:
>
> http://firestuff.org/archzoom/address@hidden/firestring--tcc--0--patch-2.tar.gz
>
> Any help would be appreciated; tcc has already been very helpful in
> finding some const typing bugs that gcc didn't see, and I'd like to get
> the whole thing building with it.
>
> --
> Ian Gulliver
> Penguin Hosting
> "Failure is not an option; it comes bundled with your Microsoft products."
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel