#pragma once
does not work if files referenced by alternate paths
#714
Labels
#pragma once
does not work if files referenced by alternate paths
#714
Repro attached.
test.c
:base.h
:x/inc.h
Using
2021-05-01
build.Expected result: successful compile (works in gcc/llvm)
Actual result:
/home/x/../base.h(3): Error! E1019: Tag 'foo' already defined
Workaround:
#ifdef
guardsrepro.zip
The text was updated successfully, but these errors were encountered: