2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-19 14:22:10 +00:00

Avoid an error in C with gcc-4.x. This fix is required because of -Werror (which is necessary in flags.jam).

This commit is contained in:
Steven Watanabe
2018-02-19 11:15:17 -07:00
parent 1e966040ab
commit c2630072f4

View File

@@ -34,7 +34,7 @@ rule init ( )
rule write-main ( target : : properties * )
{
print.output $(target) ;
print.text "int main() {}\n" : yes ;
print.text "int main() { return 0; }\n" : yes ;
}
# Applies true-properties if the toolset recognizes a specific flag.