Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Visual studio bug + bug reporting bug.

$
0
0

1) Trying to report a bug inside vc2013 presents a blank page at address:

https://connect.microsoft.com/VisualStudio/feedback/CreateFeedbackForm.aspx?FeedbackFormConfigurationID=5303&FeedbackType=1

2) Trying to "Sign in" in vc2013 gives "Browser is security restricted or JavaScript is disabled."

This is silly. Standard security settings are in effect - probably gave a bogus error because i do not HAVE internet explorer (can not remember exactly how - some standard administrative option well hidden in Windows).

3) Trying to get anywhere using the link in point 1 in a browser will go in an infinite loop:

"Complete Required Registration Information" -> profile (there is nothing to add) -> back again ... and so on.

4) Actual bug in vc2013:

1>***\main.cpp(72): fatal error C1001: An internal error has occurred in the compiler.
1>  (compiler file 'msc1.cpp', line 1325)
1>   To work around this problem, try simplifying or changing the program near the locations listed above.
1>  Please choose the Technical Support command on the Visual C++
1>   Help menu, or open the Technical Support help file for more information
1>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe'
1>      Please choose the Technical Support command on the Visual C++
1>      Help menu, or open the Technical Support help file for more information

Compiler should never crash, even if it does not like the code it is given ... for whatever reason. Code causing this:

struct A { int32u a; };
struct B { int32u b; };
template<class T> struct Bar {
    static A aa;
    static B bb;
    template<class U=T, class = std::enable_if<std::is_floating_point<U>::value>> A *operator->() const { return &aa; }
    template<class U=T, class = std::enable_if<!std::is_floating_point<U>::value>> B *operator->() { return &bb; }
};

template<class T> A Bar<T>::aa;
template<class T> B Bar<T>::bb;

void some_function_being_called() {
    Bar<float> bar1;
    Bar<int> bar2;
    size_t snafu = size_t(&bar1->a) + size_t(&bar2->b);
}

Yeah, tried the newly added support for default function template parameters feature ... seems to be not very mature support :/


Viewing all articles
Browse latest Browse all 21115

Trending Articles