repository service wrote:
+++ trunk/util/romcc/romcc.c Thu Feb 11 04:21:29 2010 (r5114)
..
else if (strncmp(argv[1], "-include", 10) == 0) {
..
struct filelist *old_head = include_filelist;
include_filelist = malloc(sizeof(struct filelist));
if (!include_filelist) {
die("Out of memory.\n");
}
argv++;
argc--;
include_filelist->filename = argv[1];
include_filelist->next = old_head;
It seems that -included files will be compiled in reverse order by this? Might that be a usability issue? I could change it.
//Peter