tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Relative paths of include files are not normalised, w


From: Fred van Kempen
Subject: Re: [Tinycc-devel] Relative paths of include files are not normalised, which can break #pragma once
Date: Wed, 28 Jun 2023 05:33:47 +0000 (UTC)

> I cannot currently think of a better solution for pragma once. Maybe you can?
If the idea is to 'remember' if we have loaded a specific file before, for UNIX-ish systems,
you could store their inode.  Not bulletproof, but, while compiling, there is not much chance
of an (included) file is changing inodes..

--F


    Herman
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]