Description:
GNU C Compiler (gcc) user queries and answers.
|
|
|
programmable GCC?
|
| |
Just wondering: could someone tell me
whether any useful subsets of GCC's
functionality, such as its conversion
from intermediate code to the assembly
language of one of GCC's vast array
of output architectures, or its
advanced code optimisation capabilities,
have been separated into an independent... more »
|
|
enabling "set but unused" warning
|
| |
I've seen numerous posts regarding disabling the "set but unused" warning message. I'm having the opposite problem; I can't get this warning to occur. Given the simple program
/* test.C */
int main() {
int x;
x = 1;
printf("hi\n");
return 0;
...
Compiling this with g++ 4.4.0 (the latest we have installed for official builds) and using 'Wall -Wextra' I get no compiler warning about the 'x = 1'. I even specified '-Wunused' but still no warning. I need this warning to preempt warnigns generatied by our code analysis program (Coverity).... more »
|
|
gcc plug-able debug format generator?
|
| |
Hi All
Does gcc support some kind of plug-able debug format generator? if i want to make gcc to generate my own debug file format, is it possible? which way i can do it more easily?
thanks
from Peter (cmk...@hotmail.com)
|
|
Using lambda - link error
|
| |
Hi,
I try to use lambda to replace static function to call some callbacks.
Depending on what optimization args used, I got link error. Work fine only for -O2 (not without optim flag nor -O only)
Does anybody now what I am doing wrong ?
//[CODE]
...
class Widget;
typedef void (Fl_Callback)(Widget*, void*);... more »
|
|
How to I deference symbolic links when linking?
|
| |
I might be in the wrong ng; if so, please direct me accordingly.
My question is this: suppose I have a library a_lib.so.1.1, with the
symlinks a_lib.so.1 pointing to it, and a_lib.so pointing to a_lib.so.1,
just as they ought to be. I am compiling a program which compiles against
a_lib.so. How do I get the linker to link with a_lib.so.1.1 instead?... more »
|
|
|