Re: [AD] msvc7 vs new_api_branch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2005-08-21, AJ <aj@xxxxxxxxxx> wrote:
>
> 1. MSVC7 doesn't seem to have a stdbool.h file.
> after advice on #allegro, the suggested solution was this
Ok. I've done a similar thing to what was done for stdint.h now.
> 2. the /src/compat files where not part of the dependancies
> so i added the /src/compat/*.c to the first line of dependancy
> generation code in makefile.vc about line 445.
Thanks.
> 4. src\compat\cokeybd.c(518) : error C2065: '__func__' : undeclared
> identifier
>
> MSVC7 has a __FUNCTION__ macro, so somewhere we could
> #define __func__ __FUNCTION__
> but where?
gcc accepts __FUNCTION__ as well, so we'll go with that.
__func__ is C99.
So, does it work?
Peter