mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix -cstrict rebuilding of V with clang
This commit is contained in:
parent
066dd023d2
commit
7a9b326200
@ -901,6 +901,10 @@ pub fn (mut g Gen) write_alias_typesymbol_declaration(sym ast.TypeSymbol) {
|
|||||||
parent_styp = g.typ(sym.info.parent_type)
|
parent_styp = g.typ(sym.info.parent_type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if parent_styp == 'byte' && sym.cname == 'u8' {
|
||||||
|
// TODO: remove this check; it is here just to fix V rebuilding in -cstrict mode with clang-12
|
||||||
|
return
|
||||||
|
}
|
||||||
g.type_definitions.writeln('typedef $parent_styp $sym.cname;')
|
g.type_definitions.writeln('typedef $parent_styp $sym.cname;')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user