Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
Hi All, I am developing a MC68HCS12DP256 with Codewarrior v1.2. Is there any way of forcing Codewarrior to check if each procedure call in a program has had the correct include file included in the program with the definition of the procedure. I find that Codewarrior will compile if the procedure is defined but not nescesarily referenced to via an include directive? Is there a complier option to check that each procedure has been referenced correctly via the header file include directive??? Kind Regards, John Pititto. |
|
|
|
John, there is the option -Wpd which gives you an error in case you use a function, for which you did not had a declaration (e.g. you missed to include the header file). Erich > -----Original Message----- > From: johnpititto1976 [mailto:] > Sent: Montag, 25. August 2003 07:54 > To: > Subject: [68HC12] Codewarrior header check - look left look right! > Hi All, > > I am developing a MC68HCS12DP256 with Codewarrior v1.2. Is there any > way of forcing Codewarrior to check if each procedure call in a > program has had the correct include file included in the program with > the definition of the procedure. I find that Codewarrior will compile > if the procedure is defined but not nescesarily referenced to via an > include directive? Is there a complier option to check that each > procedure has been referenced correctly via the header file include > directive??? > > Kind Regards, > > John Pititto. > > > -------------------------------------------------------- > To unsubscribe from this group, send an email to: > To learn more about Motorola Microcontrollers, please visit > http://www.motorola.com/mcu |