On Fri, Aug 17, 2012 at 4:34 AM, Ruben Van Boxem
wrote:
>
> I never meant to say it was as solid and full-featured as GCC on Windows.
> What I meant was that the program you call ("clang"/"clang++", i.e. the
> "compiler driver") can be used as a drop-in replacement for "gcc"/"g++",
> unlike for ex
2012/10/10 niXman :
> For example, this code work as expected:
>
>
> template
> struct is_same {
> enum { value = 0 };
> };
>
> template
> struct is_same {
> enum { value = 1 };
> };
>
> int main() {
> typedef void(__stdcall* stdcall_func_ptr)();
> typedef void(__cde
2012/10/10 niXman:
> For example, this code work as expected:
>
>
> template
> struct is_same {
> enum { value = 0 };
> };
>
> template
> struct is_same {
> enum { value = 1 };
> };
>
> int main() {
> typedef void(__stdcall* stdcall_func_ptr)();
> typedef void(__cdec
On 10/10/12, niXman wrote:
> 2012/10/10 Ozkan Sezer:
>
>> Because the names of the two functions are the same, i.e. "myfoo"
>
> This is a C++ code.
> Arguments for functions are of different types, ie overload should work.
>
> MSVC 2010 compiles this code successfully.
>
Ah sorry, didn't notice c
On 10/10/12, niXman wrote:
> Hello,
>
> When I compile this simple code:
> void myfoo(void(__cdecl*)()){}
> void myfoo(void(__stdcall*)()){}
> int main(){}
>
>
> I get the following error:
> Assembler messages:
> Error: symbol `__Z5myfooPFvvE' is already defined
>
>
> Why the compiler treats thees
2012/10/10 niXman
> Hello,
>
> When I compile this simple code:
> void myfoo(void(__cdecl*)()){}
> void myfoo(void(__stdcall*)()){}
> int main(){}
>
>
> I get the following error:
> Assembler messages:
> Error: symbol `__Z5myfooPFvvE' is already defined
>
>
> Why the compiler treats theese two sp