On Oct 12, 2007, at 11:13 AM, Török Edvin wrote: > On 10/12/07, Chris Lattner <[EMAIL PROTECTED]> wrote: >> >> Nice! I applied this patch, please verify it also fixes it for you: >> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of- >> Mon-20071008/054469.html > > Heh, you don't like offsetof, do you?
I do, but GCC doesn't. Some versions reject offsetof in a non-pod class. :( > I got a compile failure with latest SVN (r42920): > > In file included from StringMap.cpp:15: > /home/edwin/llvm-svn/llvm/include/llvm/ADT/StringMap.h: In static > member function 'static llvm::StringMapEntry<ValueTy>& > llvm::StringMapEntry<ValueTy>::GetStringMapEntryFromValue(ValueTy&)': > /home/edwin/llvm-svn/llvm/include/llvm/ADT/StringMap.h:175: error: > 'intptr_t' was not declared in this scope > make[1]: *** [/home/edwin/llvm-svn/llvm/lib/Support/Debug/ > StringMap.o] Error 1 Ok, try now :) >> This was failing for other people as well, I think the testcase >> should be fixed on mainline now. >> > > I'll try after I compile llvm. > > P.S.: Is the ML the preferred way of reporting issues? Or should I use > bugzilla? > [this was supposed to be a clang issue, which has no bugzilla, so I > used the ML] For clang at this point, yes the mainling list is probably best. Thanks! The llvm bugzilla does have clang-related components, but simple bugs like this are best addressed on the list. -Chris _______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
