Re: [cfe-users] Strange problem with C preprocessor include file searching (Mac, llvm 10)

2020-04-28 Thread Larry Gritz via cfe-users
I have some more clues here. I can reproduce this strange behavior with just bash, no python needed. $ oslc -IincA -IincB blah.osl adding 'incA'<-- my debug, shows that the '-IincA' was parsed on the command line adding 'incB'<-- my debug, shows that the '-IincB' was parsed on t

Re: [cfe-users] Strange problem with C preprocessor include file searching (Mac, llvm 10)

2020-04-28 Thread Larry Gritz via cfe-users
So I was able to also reproduce simply as this: works: oslc -IincA -IincB blah.osl broken: DYLD_LIBRARY_PATH= oslc -IincA -IincB blah.osl The only thing in my DYLD_LIBRARY_PATH was /usr/local/opt/llvm It seems that what was happening was that in cases where I didn't have /usr/l