<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 7:25 PM, Laszlo Nagy <span dir="ltr"><<a href="mailto:rizsotto.mailinglist@gmail.com" target="_blank">rizsotto.mailinglist@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi there,<div><br></div><div>i am wondering that, is there such a tool which does language (or standard) conformance checking?</div><div><br></div><div>a tool which takes the source code of a project (and a compilation database) and report that the source code shall be compiled at least with compiler which can do for example, C99 and on an OS which does support POSIX.1-2001. or a more detailed report which says these function calls (source location provided) are require this level of standard conformance, and those are available on these platforms. or this and this function calls are obsolete in standard X and use some other call instead.</div><div><br></div><div>these kind of informations are there in the man pages, but have to check manually. and my endeavour in multi OS, portable C/C++ code was always with surprises. and a tool like this would have been useful for me in the past.</div><div><br></div><div>i am interested that tool is exists or not? or somebody planing to implement such? or any opinion why this kind of tool is not useful, and testing on real OS will be the ultimate solution every time, and that can't be avoided. so, any thoughts are welcome! ;)</div><div><br></div><div>regards,</div><div>Laszlo</div></div>
<br>_______________________________________________<br></blockquote></div><br><br><br></div><div class="gmail_extra">Assume , in different operating systems , there is the same compiler , for example , Clang 3.5.1 .<br></div><div class="gmail_extra"><br>Is compiling with , for example , -sdt=C99 , in one operating system , not sufficient for detecting incompatibilities with standard C99 ?<br><br><br></div><div class="gmail_extra">Thank you very much .<br><br><br></div><div class="gmail_extra">Mehmet Erol Sanliturk<br><br><br></div><div class="gmail_extra"><br></div></div>