Questions tagged [gcc4.8]

Version 4.8.x of the GNU Compiler Collection. The C compiler is the de facto for Linux (though not all versions of Linux use version 4.8.x),. The compiler collection supports many other languages and platforms as well.

GCC version 4.8.x is a major release of the GNU Compiler Collection. Version 4.8.0 was released on 2013-03-22. Version 4.8.5 was released on 2015-06-23.

See also:

122 questions
0
votes
0 answers

Compiling boost 1.59 with gcc-4.8. how to eliminate warnings?

./boost/python/cast.hpp:73:20: warning: typedef 'must_be_a_complete_type' locally defined but not used [-Wunused-local-typedefs] /usr/include/python2.7/object.h:115:51: warning: dereferencing type-punned pointer will break strict-aliasing rules…
C.J
  • 33
  • 1
  • 3
0
votes
0 answers

C++ regex character classes

Trying to create a std::regex object with a []-enclosed character class in C++ I am getting an error: std::regex re0("\\."); std::regex re1("a"); std::regex re2("a+"); std::regex re3("a*"); std::regex re4("[az]"); // fails std::regex re5("[a-z]"); …
jotrocken
  • 2,263
  • 3
  • 27
  • 38
0
votes
1 answer

C++ error on std::unordered_map (Ubuntu - GCC4.8.2)

I'm trying to compile someone else project on linux (Ubuntu), it's a game that uses SDL2. I'm compiling with Code::Blocks using GCC4.8.2 and with the C++11 flag. I spend the las hours to look in internet for the error or even understand it, but with…
JetSpyDragon
  • 33
  • 1
  • 6
0
votes
1 answer

How to compile from a remote machine ?

I have Debian Wheezy, and I'm looking for gcc 4.8 which is not include in the stable version.I don't want to pass to Wheezy unstable or test. so, I looked for a solution, and I found two. First, I make a local installation (installation for only a…
user3140467
  • 43
  • 10
0
votes
0 answers

Is this not a valid SFINAE case and why

I'm unable to figure out why this happens. The question and comments are inline. using DefaultType_t = void; template using void_t = DefaultType_t; template struct is_float; template<> struct is_float { using…
ustulation
  • 3,600
  • 25
  • 50
0
votes
1 answer

error: expected primary-expression before ‘(’ token

In the following code, I am getting In member function ‘void no_matches::test_method()’: error: expected primary-expression before ‘(’ token auto subject = anagram("diaper"); Code starts here #include "anagram.h" #define…
twerk_it_606
  • 63
  • 3
  • 12
0
votes
0 answers

Unreasonable `expected primary-expression error`

Just a code sample: template class TypeWrapper { protected: template void m_add_object() { } }; template class PyType: public TypeWrapper { void call() { TypeWrapper::m_add_object
dyomas
  • 700
  • 5
  • 13
0
votes
1 answer

Git Built On Android Throws 'undefined reference to dlopen' Error

I'm building git on my Android device in KBOX2 using gcc 4.8 with libcurl, which I also built on device. I'm building with libcurl for http/https support Configure, make and make install run successfully. However, when I try to clone an https git,…
0
votes
0 answers

Stray in library file

I am building a project. The build is blocked because of stray lines in a library file. /datablock/libcosmosis.so:72:1: error: stray ‘\377’ in program What could cause stray lines in a library file? The library being used here was built early in…
rays2pix
  • 52
  • 4
0
votes
2 answers

gcc 4.8.1 compiling .c files as c++ in ubuntu 12.04

One of my users is getting an error message when trying to compile a C part of our mixed C/C++ codebase on ubuntu 12.04 with gcc 4.8.1 We have a library in C++ with some C-linkage functions in, and want to compile a C program linking to it. The…
JoeZuntz
  • 1,092
  • 10
  • 16
0
votes
2 answers

extern C unresolved symbol with gcc 4.8?

I have the following piece of code, that works with gcc 4.3 compiler, but when I compiled with gcc 4.8, got resolved symbol error ( linking time) //test.cc ULONG CPULimit = 200; // test.h namespace ABC { class STAT { public: …
Wild Widow
  • 2,359
  • 3
  • 22
  • 34
0
votes
1 answer

Installing GCC 4.8 with Xcode 5.1

Yesterday i've installed the update 5.1 for Xcode and after reinstalling the gcc 4.8 using the method here (which work with X5.0) don't work anymore. Have you any solution ?
0
votes
1 answer

Install Arm cross compilation for GCC4.8 in Ubuntu 12.04

First off, I'm new to Linux and have installed ubuntu 12.04 as a VM to compile code to an ARM dev. kit. Since only the 12.04 version is supported I'm unable to install e.g. latest ubuntu or another distribution. My code uses parts of c++11 and I…
Henrik
  • 586
  • 1
  • 4
  • 10
0
votes
1 answer

Can't install GCC48 via Homebrew - curl error

I am trying to install gcc48 on my Mac OS 10.9 using Homebrew but I keep running into this error: brew install gcc48 --enable-all-languages ==> Downloading ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.8.2/gcc-4.8.2.tar.bz2 curl: (28) Operation timed out…
TheGame
  • 161
  • 3
  • 12
0
votes
1 answer

Error: GCC 4.8.1 cannot create executables

Before this gets flagged as a duplicate, I have already seen this question, and tried the symlink method suggested there. It did not work. I'm on a system running OS X 10.8.5, with Xcode 5.0 and GCC 4.8.1, installed independently of Command Line…
Jules
  • 14,200
  • 13
  • 56
  • 101
1 2 3
8
9