This is the mail archive of the
mailing list for the GCC project.
Enabling a function based on Language
- From: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Mon, 21 May 2012 22:52:12 +0000
- Subject: Enabling a function based on Language
Is there a #define in GCC that will turn on only for certain languages? I am trying to use build_array_ref but it is giving me a undefined reference for f951. This code that I am trying to use will ONLY execute if we have a C/C++ code. Is it possible for me to enclose this inside some #defines (or a combination of them)?
Any help is greatly appreciated!
Balaji V. Iyer.