[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH] tcc.h: Fix CONFIG_TCC_SYSINCLUDEPATHS
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] [PATCH] tcc.h: Fix CONFIG_TCC_SYSINCLUDEPATHS |
Date: |
Wed, 02 Oct 2013 21:44:56 +0200 |
User-agent: |
KMail/4.10.5 (Linux/3.10-3-amd64; KDE/4.10.5; x86_64; ; ) |
Le mercredi 2 octobre 2013 20:17:38 Ramsay Jones a écrit :
> Commit 9382d6f1 ("Fix lib, include, crt and libgcc search paths",
> 07-09-2013) inadvertently included an initial empty entry to the
> CONFIG_TCC_SYSINCLUDEPATHS variable (for non win32 targets). In
> addition to an empty line in the 'tcc -vv' display, this leads
> to the preprocessor attempting to read an include file from the
> root of the filesystem (i.e. '/header.h').
>
> Signed-off-by: Ramsay Jones <address@hidden>
> ---
> tcc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tcc.h b/tcc.h
> index 5ed3e21..60f5f8c 100644
> --- a/tcc.h
> +++ b/tcc.h
> @@ -185,7 +185,7 @@
> # define CONFIG_TCC_SYSINCLUDEPATHS "{B}/include;{B}/include/winapi"
> # else
> # define CONFIG_TCC_SYSINCLUDEPATHS \
> - ":" CONFIG_SYSROOT "/usr/local/include/" CONFIG_MULTIARCHDIR \
> + CONFIG_SYSROOT "/usr/local/include/" CONFIG_MULTIARCHDIR \
> ":" CONFIG_SYSROOT "/usr/local/include" \
> ":" CONFIG_SYSROOT "/usr/include/" CONFIG_MULTIARCHDIR \
> ":" CONFIG_SYSROOT "/usr/include" \
Oh my. Please accept my apologies for having been absent minded.
Best regards,
Thomas
signature.asc
Description: This is a digitally signed message part.