4 ms·
Rather than the sed post-processing, the author could also have used -iquote for the place where protobuf is installed, which makes it findable by quoted includ
by microtherion 2y ago
Rather than the sed post-processing, the author could also have used -iquote for the place where protobuf is installed, which makes it findable by quoted includes.
- lloydatkinson 2y agoIs this a common solution or documented in obvious places? It wasn’t until I just read her article that I’d even considered some systems/distros doing weird things like rewriting C include syntax for questionable reasons. What a terrible thing to deal with, simply frustrating.
- microtherion 2y agoIt is documented in the gcc and clang documentation. It's also described in the gcc manpage, but not the clang one. I don't know how "common" it is, but when dealing with third party code, I run across <> / "" confusion quite commonly, so when that's a significant part of your job, you'll probably stumble upon this flag eventually.