Re: [Tinycc-devel] Symlinks in include paths

2017-09-26 Thread grischka
Petr Skočík wrote: Hi, I noticed the tcc preprocessor doesn't resolve symbolic links when resolving includes. This cancels include caching (#pragma once) if a file gets included from two different paths. Attached is a simply fix that adds such path resolution, although you might want to do it di

[Tinycc-devel] Symlinks in include paths

2017-09-26 Thread Petr Skočík
Hi, I noticed the tcc preprocessor doesn't resolve symbolic links when resolving includes. This cancels include caching (#pragma once) if a file gets included from two different paths. Attached is a simply fix that adds such path resolution, although you might want to do it differently if you do w