icu icon indicating copy to clipboard operation
icu copied to clipboard

Fix circular include on MS Visual Studio

Open ignazp opened this issue 11 months ago • 1 comments

Including ucal.h from a C file on MS VisualStudio triggers a circular include, which triggers a build fail.

The circualr include can be resumed as: utypes.h -> umachine.h -> ptypes.h -> uchar.h -> utypes.h

The first reported error is

...\x64\Release\include\unicode\ucpmap.h(12,1): error C2054: expected '(' to follow 'U_CDECL_BEGIN'
70>(compiling source file 'test.c')

ignazp avatar Dec 18 '24 12:12 ignazp

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 18 '24 12:12 CLAassistant