Skip to content
Prev 6448 / 10988 Next

[Rcpp-devel] long long

I don't know why this thread only popped up now in my gmail; I have been
following it on R-devel.

I have just skimmed the extensive discussion, but I just want to add a few
things
  - presently, the default compiler on OS X Mountain Lion is not clang,
which is what Romain was testing with, but a stock GCC.  Difference is this:

sleipner-1 $ /usr/bin/gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
sleipner-1 $ /usr/bin/gcc-4.2 --version
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  - Aside from GCC and clang, I would say the Intel compilers are worth
thinking about for serious use.

I don't know how hard this is to do, but I guess the "right" way to deal
with this is to use autoconf to detect all of this and then use something
like
  R_CPP_HAS_C11++
with some stub for throwing an error if a feature is used on a platform not
supporting R_CPP.  That should work for simple examples, but it may be hard
to do the autoconf test.  And of course, Rcpp is anything but "a simple
example" so I don't even know if this is possible in theory.

Anyway, I know this is mostly noise, but wanted to remind you of the OS X
issue.

Best,
Kasper



On Fri, Sep 20, 2013 at 8:47 AM, Smith, Dale (Norcross) <
Dale.Smith at fiserv.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130920/bec57a62/attachment-0001.html>