Wireshark-commits: [Wireshark-commits] master 5e5e201: Another message from Clang for unknown -f an
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 18 Jun 2014 18:46:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5e5e2019ee09fb0901f35948f570baff8a884adb
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5e5e201 by Guy Harris (guy@xxxxxxxxxxxx):

    Another message from Clang for unknown -f and -m flags.
    
    For -f and -m flags that don't apply to the target architecture(?),
    Clang doesn't fail but does print a warning "argument unused during
    compilation: '-{flag}'".  Catch that and treat it as a failure
    indication, so we don't use that flag.
    
    Change-Id: I65948ada41fa44fb62f9a2b8b320f137a5902b8f
    Reviewed-on: https://code.wireshark.org/review/2399
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  fca7b3f   Check for lua by grepping the output of tshark -v
    adds  5e5e201   Another message from Clang for unknown -f and -m flags.


Summary of changes:
 cmake/modules/CheckCCompilerFlag.cmake |    1 +
 1 file changed, 1 insertion(+)