RE: [cc65] Error message question

Date view Thread view Subject view

From: Keates, Mark (Mark.Keates_at_dendrite.com)
Date: 2003-10-08 12:26:18


Hi,

> Does the C file include loader.h? If so, does loader.h 
> include global.h? I do still think it's a problem with 
> the order of the include files.

No, C file includes global.h and global.h includes all other .h files.
Other .h files tend only to include library headers as required, e.g stddef.

Using #error as a debug tool on line 1 of each header file
(should this quit immediately?) I was able to track the includes.
This took a couple of passes as I had to remove the earlier ones
after the "Fatal: Too many errors" was reached.

../../../kvm/VmCommon/h/global.h(1): Error: #error: global
../../../kvm/VmAtari/h/machine_md.h(1): Error: #error: machine_md
../../../kvm/VmCommon/h/main.h(1): Error: #error: main
../../../kvm/VmCommon/h/long.h(1): Error: #error: long
../../../kvm/VmCommon/h/garbage.h(1): Error: #error: garbage
../../../kvm/VmCommon/h/interpret.h(1): Error: #error: interpret
../../../kvm/VmCommon/h/events.h(1): Error: #error: events
../../../kvm/VmCommon/h/hashtable.h(1): Error: #error: hashtable
../../../kvm/VmCommon/h/thread.h(1): Error: #error: thread
../../../kvm/VmCommon/h/pool.h(1): Error: #error: pool
../../../kvm/VmCommon/h/class.h(1): Error: #error: class
../../../kvm/VmCommon/h/fields.h(1): Error: #error: fields
../../../kvm/VmCommon/h/frame.h(1): Error: #error: frame
../../../kvm/VmCommon/h/loader.h(1): Error: #error: loader

When I then moved "loader.h" higher up in the includes list,
the error disappears and is replaced by a similar error from
another header. Could it be hitting upon an internal limit 
within cc65 but not being told?

Thanks,

Mark


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-10-08 15:53:02 CEST