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 <[email protected]>
>> ---
>> 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
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel