On Wed, Sep 28, 2016 at 11:13:35AM -0700, Mehdi Amini wrote:> > > On Sep 28, 2016, at 11:00 AM, Rinaldini Julien via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > Hi, > > > > I’m using llvm+clang (+ a wrapper for swift that allow me to use my clang to compile swift files) inside Xcode and I have encountered two issues with the new clang 3.9 and Xcode 8: > > > > 1) when compiling with the deployment target set to 10.0, I got this error: clang-3.9: error: invalid version number in '-miphoneos-version-min=10.0’. If I set back the deployment target to 9.3 it works fine. > > https://reviews.llvm.org/rL275905 > > It probably landed after the 3.9 branch and unfortunately wasn’t backported. > > CC Tstellar for 3.9.1 >I created a bug to track this request: https://llvm.org/bugs/show_bug.cgi?id=30555 -Tom> — > Mehdi > > > > > > 2) when compiling a mixed project with both swift and objective-c source code, the compiler fail to find the “bridge” include: > > > > SOMEFILE.m:15:9: fatal error: 'Sparkasse-Swift.h' file not found > > #import <SOMETHING-Swift.h> > > ^ > > 1 error generated. > > Command /usr/localt/bin/clang failed with exit code 1 > > > > I guess I can add a -I/path/to/SOMETHING-Swift.h to the flags but I have a lot of those. > > > > > > Does anyone encountered those issues? Do you have any pointer on how I can fix those issues? > > > > Cheers, > > Julien Rinaldini > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >
Hi, Thanks, I backported the patch to my version and it worked fine! Cheers, Julien Rinaldini> On 28 Sep 2016, at 23:05, Tom Stellard <tom at stellard.net> wrote: > > On Wed, Sep 28, 2016 at 11:13:35AM -0700, Mehdi Amini wrote: >> >>> On Sep 28, 2016, at 11:00 AM, Rinaldini Julien via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>> >>> Hi, >>> >>> I’m using llvm+clang (+ a wrapper for swift that allow me to use my clang to compile swift files) inside Xcode and I have encountered two issues with the new clang 3.9 and Xcode 8: >>> >>> 1) when compiling with the deployment target set to 10.0, I got this error: clang-3.9: error: invalid version number in '-miphoneos-version-min=10.0’. If I set back the deployment target to 9.3 it works fine. >> >> https://reviews.llvm.org/rL275905 >> >> It probably landed after the 3.9 branch and unfortunately wasn’t backported. >> >> CC Tstellar for 3.9.1 >> > > I created a bug to track this request: https://llvm.org/bugs/show_bug.cgi?id=30555 > > -Tom > >> — >> Mehdi >> >> >>> >>> 2) when compiling a mixed project with both swift and objective-c source code, the compiler fail to find the “bridge” include: >>> >>> SOMEFILE.m:15:9: fatal error: 'Sparkasse-Swift.h' file not found >>> #import <SOMETHING-Swift.h> >>> ^ >>> 1 error generated. >>> Command /usr/localt/bin/clang failed with exit code 1 >>> >>> I guess I can add a -I/path/to/SOMETHING-Swift.h to the flags but I have a lot of those. >>> >>> >>> Does anyone encountered those issues? Do you have any pointer on how I can fix those issues? >>> >>> Cheers, >>> Julien Rinaldini >>> _______________________________________________ >>> LLVM Developers mailing list >>> llvm-dev at lists.llvm.org >>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160929/ef4bcd88/attachment.html>
Hi, I managed to fix my second problem with the header not found. I had to modify my wrapper but it works well. Cheers, Julien Rinaldini> On 29 Sep 2016, at 09:49, Rinaldini Julien via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > Thanks, I backported the patch to my version and it worked fine! > > Cheers, > Julien Rinaldini > > >> On 28 Sep 2016, at 23:05, Tom Stellard <tom at stellard.net <mailto:tom at stellard.net>> wrote: >> >> On Wed, Sep 28, 2016 at 11:13:35AM -0700, Mehdi Amini wrote: >>> >>>> On Sep 28, 2016, at 11:00 AM, Rinaldini Julien via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >>>> >>>> Hi, >>>> >>>> I’m using llvm+clang (+ a wrapper for swift that allow me to use my clang to compile swift files) inside Xcode and I have encountered two issues with the new clang 3.9 and Xcode 8: >>>> >>>> 1) when compiling with the deployment target set to 10.0, I got this error: clang-3.9: error: invalid version number in '-miphoneos-version-min=10.0’. If I set back the deployment target to 9.3 it works fine. >>> >>> https://reviews.llvm.org/rL275905 <https://reviews.llvm.org/rL275905> >>> >>> It probably landed after the 3.9 branch and unfortunately wasn’t backported. >>> >>> CC Tstellar for 3.9.1 >>> >> >> I created a bug to track this request: https://llvm.org/bugs/show_bug.cgi?id=30555 <https://llvm.org/bugs/show_bug.cgi?id=30555> >> >> -Tom >> >>> — >>> Mehdi >>> >>> >>>> >>>> 2) when compiling a mixed project with both swift and objective-c source code, the compiler fail to find the “bridge” include: >>>> >>>> SOMEFILE.m:15:9: fatal error: 'Sparkasse-Swift.h' file not found >>>> #import <SOMETHING-Swift.h> >>>> ^ >>>> 1 error generated. >>>> Command /usr/localt/bin/clang failed with exit code 1 >>>> >>>> I guess I can add a -I/path/to/SOMETHING-Swift.h to the flags but I have a lot of those. >>>> >>>> >>>> Does anyone encountered those issues? Do you have any pointer on how I can fix those issues? >>>> >>>> Cheers, >>>> Julien Rinaldini >>>> _______________________________________________ >>>> LLVM Developers mailing list >>>> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> >>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >>> > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160929/2683d97e/attachment.html>