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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user