Questions tagged [gcc4.4]

Version 4.4 of GCC (GNU Compiler Collection). GCC is the de facto standard C compiler on Linux (but version 4.4 is not used on modern versions of Linux). The compiler collection supports many other languages and platforms as well.

Version 4.4.0 was released on 2009-04-2. Version 4.4.7 was released on 2012-03-13.

See also:

29 questions
0
votes
0 answers

How to iterate over a container that has no begin/end?

(C++98, gcc4.4.7) Let's say I have a database-connected container that does not provide iterators over itself, but only an indexed getter and size(), ex: template class DbVector { public: const T& getValue(const size_t) const; size_t…
lucas93
  • 11
  • 1
0
votes
0 answers

Can I install GCC 4.4.4 on Fedora 29 or downgrade my Fedora version?

I have a piece of code that is currently compiling on Fedora 13 (I have it on a VM). I created a new VM using Fedora 29. The issue is that F29 has GCC v8.1 whereas the F13 has GCC v4.4.4 because of which the code is not compiling on F29. I found…
Yash Kapoor
  • 93
  • 2
  • 12
0
votes
0 answers

OpenSSL 1.1.1a OPENSSL_API_COMPAT issues in GCC 4.4

I have a C++ code which uses Openssl 1.1.1a. When this c++ code is executed in gcc4.4 there is link error undefined reference to `EVP_CIPHER_CTX_init' undefined reference to `EVP_CIPHER_CTX_cleanup' The same c++ code is building file with…
0
votes
0 answers

How to patch standard header to work with -fno-rtti compiler option

I am trying to use std::unique_ptr on gcc4.4.x, but facing issues regarding shared_ptr.h compilations. shared_ptr.h can't be compiled with -fno-rtti compiler options. I don't need std::shared_ptr, I am just using std::unique_ptr and some old code…
g-217
  • 2,069
  • 18
  • 33
0
votes
1 answer

Converting 2's complement of values back and forth in C++ by calculation or casting?

I get some values from hardware registers where values are stored in 16-bit unsigned integers but these values are actually signed. Knowing the last bit is the sign bit, a colleague has done the following snippet to convert them to 2's complement…
Paradox
  • 738
  • 12
  • 30
0
votes
1 answer

Compiler Error on std::sort function (GCC 4.4)

The code below sorting in Visual Studio successfully. But, in Ubuntu GCC 4.4.7 compiler throws error. It seems it's not familiar with this type of syntax. How shall I fix this line to make code working in GCC? (the compiler is remote. So I can't…
Zen Of Kursat
  • 2,672
  • 1
  • 31
  • 47
0
votes
1 answer

How to include hash_map in C++ 4.4.6?

I am using hash_map in my C++ application. When I build the application with version 4.1.2 build succeeded. When I try to build the application with version 4.4.6 it is throwing error as /include/c++/4.4.6/backward/backward_warning.h:28:2: error:…
Dany
  • 2,692
  • 7
  • 44
  • 67
0
votes
1 answer

Unable to build a project using boost coroutine using gcc 4.4.7

I am unable to build a simple project using boost coroutine on machines using gcc 4.4.7 (centos6.4, redhat 6.0, 6.1, etc). The same project builds fine using machines running gcc 4.8.3 (fedora 19, centos 7.0). Since the Boost 1.55 version history …
0
votes
1 answer

mac OSX Unknown pseudo-op: .type

I have to write some assembler code. Therefore I installed gcc4.4 (per homebrew) and called gcc-4.4 -c asma.s, but it does not work as expected: asma.s:3:Unknown pseudo-op: .type asma.s:3:Rest of line ignored. 1st junk character valued 97 (a). The…
NaN
  • 3,501
  • 8
  • 44
  • 77
0
votes
2 answers

Eclipse: C-code in C++ static lib, referenced by C++ lib results in undefined reference

I've read almost all the "undefined reference" topics here, have spent 2 days in trying different linkage options, but with no results. I'm desperate! I'm on Linux Red Hat platform with Eclipse 3.6.1 and GCC 4.4.7. I'm porting a large project from…
0
votes
1 answer

gcc does not link properly against gsoap

I'm migrating my C++ application build system to cmake. One dependency is gsoap++, which generates a SOAP service and client. To link against it, I specify set(CMAKE_CXX_LINK_FLAGS "-lgsoap++ ... [other flags]") in the root CMakeLists.txt. The…
flyx
  • 35,506
  • 7
  • 89
  • 126
0
votes
1 answer

Installing CUDA without gcc-4.3

So I downloaded the latest Cuda (5.0.35) script to install Cuda on my desktop on which I have Debian (kernel 2.6.32). When I ran the script though I get an error on the log which says: The compiler used to compile the kernel (gcc-4.3) does not…
Atirag
  • 1,660
  • 7
  • 32
  • 60
0
votes
1 answer

unable to run gtk apps compiled with gcc 4.4 (mingw)

I have downloaded the gtk all-in-one package for windows. I am compiling my file with -mms-bitfields but still i get the error, Gtk-ERROR **: Incompatible build! The code using GTK+ thinks GtkBox is of different size than it actually is in this…
Adeel Asghar
  • 577
  • 2
  • 7
-1
votes
1 answer

Strange behavior of #pragma pack

I am facing a strange issue when using #pragma pack. I have the following structs: st_a: packed with #pragma pack(1). Size = 1 byte. Contains bitfields. st_b: packed with #pragma pack(2). Size = 14 bytes. st_c: packed with #pragma pack(2). Size =…
kiner_shah
  • 3,939
  • 7
  • 23
  • 37
1
2