mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 13:42:14 +00:00
The compiler is forced to compile the files as C++ (-x cxx) because
otherwise it will silently ignore files with no file extension. [SVN r32890]
This commit is contained in:
@@ -143,9 +143,12 @@ actions compile.c
|
||||
|
||||
# Note: DON'T disable warning 1133 -- the compiler is buggy and you
|
||||
# really can't ignore this one!
|
||||
#
|
||||
# The compiler is forced to compile the files as C++ (-x cxx) because
|
||||
# otherwise it will silently ignore files with no file extension.
|
||||
actions compile.c++
|
||||
{
|
||||
$(CONFIG_COMMAND) -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "$(<[1]:D)/cxx_repository" -msg_display_number -msg_disable 186,450,1115 $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)"
|
||||
$(CONFIG_COMMAND) -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include -timplicit_local -ptr "$(<[1]:D)/cxx_repository" -msg_display_number -msg_disable 186,450,1115 $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -o "$(<)" "$(>)"
|
||||
}
|
||||
|
||||
# Always create archive from scratch. See the gcc toolet for rationale.
|
||||
|
||||
Reference in New Issue
Block a user