User Profile

Collapse

Profile Sidebar

Collapse
TimTrudeau
TimTrudeau
Last Activity: Oct 14 '07, 04:44 PM
Joined: Apr 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • TimTrudeau
    replied to Assembly listing from g++
    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.
    See more | Go to post

    Leave a comment:


  • TimTrudeau
    started a topic Assembly listing from g++

    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?
    See more | Go to post

  • TimTrudeau
    replied to Static Data Members
    in C
    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]

    ...
    See more | Go to post

    Leave a comment:


  • TimTrudeau
    replied to Static Data Members
    in C
    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
    ...
    See more | Go to post

    Leave a comment:


  • TimTrudeau
    started a topic Static Data Members
    in C

    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; //<<<<<<<<<<<<<<< <...
    See more | Go to post
No activity results to display
Show More
Working...