Q:
gcc 7.0 and g++ 7.0 compiler compatibility
Will g++ 7.0 work with gcc 7.0 and vice versa? If not, which gcc should I use?
I'm aware of the following, but I'm not sure if any of these apply to me:
I have access to an old CentOS 5.5, but I can't find out which gcc is actually used in the system, so I'm not sure if I need to install the CentOS gcc or not.
I have access to a Windows 7.1 machine, but there's some reason I can't use it to compile anything, so I'm not sure if I can install the mingw-cross-compiler on it. I'm not sure if I need to do so.
A:
GCC 6.3 compiles the libstdc++ from GCC 4.7.2 and GCC 4.8, although most of the projects in the GCC 6.3 archive compile with GCC 4.6 and GCC 4.7.
GCC 6.4 has a working compatibility layer with GCC 6.3, and GCC 6.2 has support for GCC 6.3, but both the GCC 6.3 and GCC 6.2 compatibility modes may have stability bugs which prevent some or all functions from being correctly linked, and might cause the resulting programs to misbehave.
GCC 7.0 will only compile projects compiled with GCC 6.x and GCC 7.x.
g++ 7.0 will only work with GCC 7.x and 8.x.
g++ 6.3 is no longer supported.
Q:
CORS and AngularJS
I'm using the angular framework with an application and a backend made in node.js and asp.net mvc. So I'm using a normal http call like this one:
var http = require('http');
http.createServer(function(request, response) {
response.writeHead(200, {'Content-Type': 'text/plain'});
response.end('Hello world
');
}).listen(1337, "127.0.0.1");
But I've been reading about cors and I need to use a header or something to allow this call. The server side is set up to do this by calling this in the handler:
if ac619d1d87
Related links:
Comments