On Monday, 31 March 2014 at 21:16:47 UTC, Walter Bright wrote:
On 3/31/2014 2:06 PM, bearophile wrote:
Walter Bright:
Since then, I've fixed a handful of bugs, but that didn't
amount to much time.
Have you kept a list of such bugs/mistakes of yours for warp?
It is an
interesting list.
It's on github, though currently in a private repository. They
were the usual mix of stupid coding mistakes and adjustments
needed to match cpp's behavior.
I gave it a whirl on OSX Mavericks, Xcode 5.1
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
a.cc contains only:
#include <stdlib.h>
$ ./warpdrive_clang3_4 -I /usr/include a.cc >~/a.pp
/usr/include/stdlib.h(92) : identifier expected after 'defined'
#if !__DARWIN_NO_LONG_LONG <-- line 92
typedef struct {
long long quot;
long long rem;
} lldiv_t;
#endif /* !__DARWIN_NO_LONG_LONG */