##############################################################################
#                                                                            #
# IAR ARM ANSI C/C++ Compiler V4.11A/W32               20/Jul/2004  18:58:48 #
# Copyright 1999-2004 IAR Systems. All rights reserved.                      #
#                                                                            #
#    Cpu mode        =  arm                                                  #
#    Endian          =  little                                               #
#    Stack alignment =  4                                                    #
#    Source file     =  C:\medusa\arp.c                                      #
#    Command line    =  -I "C:\Program Files\IAR Systems\Embedded Workbench  #
#                       4.0\ARM\INC\" -lc C:\medusa\Debug\List\ -la          #
#                       C:\medusa\Debug\List\ -o C:\medusa\Debug\Obj\ -s2    #
#                       --no_cse --no_unroll --no_inline --no_code_motion    #
#                       --no_tbaa --no_clustering --no_scheduling --debug    #
#                       --cpu_mode arm --endian little --cpu ARM7TDMI-S      #
#                       --stack_align 4 -e --fpu None                        #
#                       "-D_DLIB_CONFIG_FILE=C:\Program Files\IAR            #
#                       Systems\Embedded Workbench                           #
#                       4.0\ARM\LIB\dl4tpannl8n.h" C:\medusa\arp.c           #
#    List file       =  C:\medusa\Debug\List\arp.lst                         #
#    Object file     =  C:\medusa\Debug\Obj\arp.r79                          #
#                                                                            #
#                                                                            #
##############################################################################

C:\medusa\arp.c
      1          #include "archinc.h"
      2          #include "cli.h"
      3          #include "strutil.h"
      4          #include "zarlink.h"
      5          
      6          #include <stdlib.h>
      7          
      8          
      9          static unsigned char pingFrameData[128];
     10          
     11          /*
     12           * The structure of an ethernet header is: 
     13           * | Source MAC (6 bytes)  | Dest MAC (6 bytes) | type (2 bytes) |
     14           *
     15           * A type of 0x0800 indicates an IP packet
     16           *
     17           * The ethernet trailer is a 32-bit CRC
     18           */
     19          
     20          static int initPingPacket(char *pPktData, char *pSrcIp, char *pDstIp)
     21          {
     22            int i;
     23          
     24            if (pPktData == NULL)
     25              return -1;
     26          
     27            
     28          }
                 ^
Warning[Pe940]: missing return statement at end of non-void function
          "initPingPacket"

    int i;
        ^
"C:\medusa\arp.c",22  Warning[Pe177]: variable "i" was declared but never
          referenced

  static unsigned char pingFrameData[128];
                       ^
"C:\medusa\arp.c",9  Warning[Pe177]: variable "pingFrameData" was declared but
          never referenced

  static int initPingPacket(char *pPktData, char *pSrcIp, char *pDstIp)
             ^
"C:\medusa\arp.c",20  Warning[Pe177]: function "initPingPacket" was declared
          but never referenced
     29          
     30          


   Segment part sizes:

     Function/Label Bytes
     -------------- -----

 
 
 0 bytes of memory

Errors: none
Warnings: 4
