This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Unconventional Class Assignment Behavior ?


Hello, recently I have been experiencing difficulties on class
assignment (see program
 below). I cannot compile the program below* which seems odd to me
since the code
is perfectly valid. Any advice on fixing this would be appreciated.

error: request for member ‘load’ in ‘engine1’, which is of non-class
type ‘game_engine()’|

*   main.c: http://pastebin.com/fa5KsbT1
    game_engine.h: http://pastebin.com/xdQsPHCf
    game_engine.c: not posted

-- 
Jason White


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]