Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

Discussion Groups | 68HC12 | Codewarrior header check - look left look right!

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Codewarrior header check - look left look right! - johnpititto1976 - Aug 25 0:54:00 2003

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.





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


RE: Codewarrior header check - look left look right! - Erich Styger - Aug 25 1:14:00 2003

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





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )