User Profile
Collapse
-
The -S option I know about. It's in the man page. But the assemby output is raw assembly. Rather difficult to read. I was hoping there was some esoteric way to combine the c source and the assembly. This is a common option in every compiler I have ever used before. Can g++ (or gcc) do this? Is there a utility? How do the LINUX guys debug C at the assemby code level?? Sometimes this is just plain neccessary. -
Assembly listing from g++
I am looking for the g++ command line option to gernerate an assembly listing with the C++ code embedded. Does anybody know how to get this listing? -
Thanks for the help to all. I found the problem. It is correct that I did not want start to be static. The compiler error message had me confused. The problem was caused because I tried use the class member 'start' as a default parameter value in one of the member functions:
Code:Watch* find(EUI64& _eiu, Watch* _w=start); [i][/i]
I changed the line above to:
Code:Watch* find(EUI64& _eiu, Watch* _w=NULL); [i][/i]
...Leave a comment:
-
Problem with Static Data Member
Static Data Members
--------------------------------------------------------------------------------
I am getting the following error from g++ ...
./include/WatchTable_clas s.h:23: error: invalid use of non-static data member `WatchTable::st art'
Here is the class header file ...
...Code:#ifndef WatchTable_class_h #define WatchTable_class_h
Leave a comment:
-
Static Data Members
I am getting the following error from g++ ...
./include/WatchTable_clas s.h:23: error: invalid use of non-static data member `WatchTable::st art'
Here is the class header file ...
#ifndef WatchTable_clas s_h
#define WatchTable_clas s_h
#include "./watch_class.h"
class WatchTable
{
private:
Watch* start; //<<<<<<<<<<<<<<< <...
No activity results to display
Show More
Leave a comment: