Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] Extra args in clang plugin
- Subject: [Frama-c-discuss] Extra args in clang plugin
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- Date: Wed, 16 Jan 2019 10:34:51 +0100
- In-reply-to: <5C3D3436.6050606@hunter.cuny.edu>
- References: <5C3D3436.6050606@hunter.cuny.edu>
Hello, Le mer. 16 janv. 2019 à 02:19, Subash Shankar < subash.shankar at hunter.cuny.edu> a écrit : > I am trying to use the clang plugin with my own additional include > files. To do this, I am typing: > frama-c -fclang-cpp-extra-args="-I /opt/foo" hello.cpp > However, it does not seem to be recognizing the extra argument. To > confirm this, I also tried it with the -fclang-msg-key clang option, and > it does not seem to be passing the argument to clang. This is with > Chlorine+clang 0.0.6. > > Alternatively, is there a better way to bring in -I and -L options? > You're right, there is an issue with this option. Thanks for reporting this, and sorry for the inconvenience. For workarounds, please note that this option was meant to be used only if you are parsing a mix of C and C++ files _and_ wish to have a separate set of options for the C and C++ files. Otherwise, you can use the standard -cpp-extra-args option which is taken into account by the frama-clang plugin. Best regards, -- E tutto per oggi, a la prossima volta Virgile -------------- section suivante -------------- Une pièce jointe HTML a été nettoyée... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20190116/cba31ef5/attachment.html>
- References:
- [Frama-c-discuss] Extra args in clang plugin
- From: subash.shankar at hunter.cuny.edu (Subash Shankar)
- [Frama-c-discuss] Extra args in clang plugin
- Prev by Date: [Frama-c-discuss] Extra args in clang plugin
- Next by Date: [Frama-c-discuss] Function-local static variables and preprocessor variables
- Previous by thread: [Frama-c-discuss] Extra args in clang plugin
- Next by thread: [Frama-c-discuss] Function-local static variables and preprocessor variables
- Index(es):