[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH] tcc.h: Fix CONFIG_TCC_SYSINCLUDEPATHS
From: |
Ramsay Jones |
Subject: |
Re: [Tinycc-devel] [PATCH] tcc.h: Fix CONFIG_TCC_SYSINCLUDEPATHS |
Date: |
Wed, 02 Oct 2013 20:56:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 02/10/13 20:44, Thomas Preud'homme wrote:
> 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.
No need, I've been plenty absent minded over the years. :-D
Should I push this to the mob branch?
ATB,
Ramsay Jones