[cfe-dev] Pre-processing assembly sources

mats petersson via cfe-dev cfe-dev at lists.llvm.org
Fri Jul 29 03:57:42 PDT 2016


Assuming you do something like clang -E foo.S > foo.s it uses the default
for the compiler. If you want a specific language standard, use the
-std=c99 or -std=c11.

Or are you doing something different from that?

--
Mats

On 29 July 2016 at 11:32, Martin J. O'Riordan via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Using the C pre-processor for maintaining assembly source files is really
> useful, but which ISO C Standard pre-processor is selected when
> pre-processing files with the extension ā€˜.Sā€™?
>
>
>
> Thanks,
>
>
>
>             MartinO
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160729/551e3d01/attachment.html>


More information about the cfe-dev mailing list