Windows build issues

Jonathan "Duke" Leto jonathan at leto.net
Fri Jul 15 16:40:48 UTC 2011


Howdy,

This is caused by not having LONG_LONG, and then
config/gen/config_h/config_h.in

generates a line like

#if @HAS_LONG_LONG@

but HAS_LONG_LONG is "" so it generates an invalid C macro. This was
introduced by plobsing in ec159d26bf038ac53312349c96cb4c41f4f73b60

Duke



On Fri, Jul 15, 2011 at 9:23 AM, Sean Burkes <sean at everbrew.info> wrote:
> The Windows build started to fail on my last pull:
> gcc -I./include -I./include/pmc -DWIN32 -DWINVER=Windows2000
>  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC
>  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE
>  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT
>  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -g     -falign-functions=16
> -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return
> -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization
> -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args
> -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport
> -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-braces
> -Wmissing-field-initializers -Wno-missing-format-attribute
> -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith
> -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare
> -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs
> -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings
> -Wc++-compat -Wdeclaration-after-statement
> -Werror=declaration-after-statement -Wimplicit-function-declaration
> -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes
> -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes
> -Isrc/string -Isrc/ -o src/string/api.o -c src/string/api.c
> In file included from ./include/parrot/parrot.h:36,
>                  from src/string/api.c:27:
> ./include/parrot/config.h:134:5: error: #if with no expression
> gmake: *** [src/string/api.o] Error 1
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>
>



-- 
Jonathan "Duke" Leto <jonathan at leto.net>
Leto Labs LLC
209.691.DUKE // http://labs.leto.net
NOTE: Personal email is only checked twice a day at 10am/2pm PST,
please call/text for time-sensitive matters.


More information about the parrot-dev mailing list