Re: -fdiagnostics-color problem
Steven Honeyman <[email protected]> Tue, 18 Nov 2014 18:03:03 +0000
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CABz95_BW+1+oVx5cL+CLW5N7hAWGLvXJzqps_WqcGARfAXNg_Q@mail.gmail.com> |
I also get a build problem with -fdiagnostics-color enabled. With gcc4.9.2 in `make test` I get: test/main test/test_argument_processing.c:199: Failed assertion: Suite: argument_processing Test: MQ_flag_without_immediate_argument_should_not_add_MQobj Expression: act_cpp Expected: gcc -MD -MP -MFfoo.d -MQ foo.d Actual: gcc -fdiagnostics-color -MD -MP -MFfoo.d -MQ foo.d test/test_argument_processing.c:216: Failed assertion: Suite: argument_processing Test: MT_flag_without_immediate_argument_should_not_add_MTobj Expression: act_cpp Expected: gcc -MD -MP -MFfoo.d -MT foo.d Actual: gcc -fdiagnostics-color -MD -MP -MFfoo.d -MT foo.d test/test_argument_processing.c:233: Failed assertion: Suite: argument_processing Test: MQ_flag_with_immediate_argument_should_not_add_MQobj Expression: act_cpp Expected: gcc -MD -MP -MFfoo.d -MQfoo.d Actual: gcc -fdiagnostics-color -MD -MP -MFfoo.d -MQfoo.d test/test_argument_processing.c:250: Failed assertion: Suite: argument_processing Test: MT_flag_with_immediate_argument_should_not_add_MQobj Expression: act_cpp Expected: gcc -MD -MP -MFfoo.d -MTfoo.d Actual: gcc -fdiagnostics-color -MD -MP -MFfoo.d -MTfoo.d test/test_argument_processing.c:275: Failed assertion: Suite: argument_processing Test: fprofile_flag_with_existing_dir_should_be_rewritten_to_real_path Expression: act_cpp Expected: gcc -fprofile-generate=/tmp/makepkg/ccache-git/src/ccache/testdir.20931/argument_processing/fprofile_flag_with_existing_dir_should_be_rewritten_to_real_path/some/dir Actual: gcc -fprofile-generate=/tmp/makepkg/ccache-git/src/ccache/testdir.20931/argument_processing/fprofile_flag_with_existing_dir_should_be_rewritten_to_real_path/some/dir -fdiagnostics-color test/test_argument_processing.c:294: Failed assertion: Suite: argument_processing Test: fprofile_flag_with_nonexisting_dir_not_be_rewritten Expression: act_cpp Expected: gcc -fprofile-generate=some/dir Actual: gcc -fprofile-generate=some/dir -fdiagnostics-color FAILED: 6 tests