[cfe-dev] clang: Large number of include paths crashes clang

Sujit Kamthe Sujit.Kamthe at kpitcummins.com
Fri Oct 26 04:36:42 PDT 2012


Hi team,
When the number of include paths specified using -I option or -include option is huge, the length of the command built becomes huge and at some point it exceeds the maximum length of the command allowed by shell/DOS/windows.

e.g. On windows if the command length exceeds about 32767 chars (if I am not wrong) the command is half built and becomes invalid.
Is there any way by which we can handle this issue?

Regards,
Sujit Kamthe

[buildbox_logo]
Productivity & FE | Automotive and Engineering SBU | KPITCummins Infosystems Ltd|Board: +91 20 66525000 | Extn:3102 |Mobile:7709076120

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121026/d90c5dc1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4082 bytes
Desc: image001.jpg
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121026/d90c5dc1/attachment.jpg>


More information about the cfe-dev mailing list