[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] how to pass stdmap as a default constructor parameter
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2013-08-10 9:55:12
Message-ID: 6200294.T46MnUq7YL () gargamel
[Download RAW message or body]

On Saturday 10 August 2013 17:27:01 Jean Lee wrote:
> I suffer a problem when using std::map in clang. I compile it in clang 3.3
> under ubuntu 12.04, and the problem is also in clang 3.0.
> The codes like follows (also in attachment):
[...]
> test.cpp:9:36: error: expected ')'
>         = std::map<std::string,std::string>())
>                                           ^

Hi,

This is a known bug:
http://llvm.org/bugs/show_bug.cgi?id=13657

I have a patch for it[1], but it has not been integrated yet
[1] http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130610/081655.html

-- 
Olivier

_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic