<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 5:36 AM, Juhász Ádám <span dir="ltr"><<a href="mailto:jadaml@gmail.com" target="_blank">jadaml@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">However, the GNU compiler is also capable to select the proper language and use the proper tools for compillation, so GNU's cpp will compile… I believe Fortran, or even Java, if the proper alternative GNU compiler present. I've never used this capability this extremely though, and not aware wether other compilers are capable to do so.</blockquote>
</div><br>Most people realized that abusing the *C* preprocessor for languages other than C/C++ was a mistake, some ten years ago when ANSI specified that the C preprocessor must actually understand the C language.</div>
<div class="gmail_extra">
The fact that GNU C still allowed it to sort-of work for other languages is something of a happy accident, not a natural law or an obligation on anyone's part.<br><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div>
<div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div>
</div>
</div></div>