[cfe-users] Clang issues warning in system header

2016-06-01 Thread Pavel Chuprikov via cfe-users
Hello, I'm trying to compile a test library, that uses boost.asio using clang, But clang issues* a warning in a boost's header*, despite the fact that it is passed using "*-isystem*". I would be glad to investigate the problem further, but I just don't know where to dig, since everything seems OK

Re: [cfe-users] Clang issues warning in system header

2016-06-02 Thread Pavel Chuprikov via cfe-users
Hello again, I finally found out what was the issue. It was the *#line compiler directive*, that caused all the trouble So it seems, that I cannot possibly make clang think that the header like below is a system one, so it would automatically suppress the warning: #line 1 "some/garbage" static c