EmbDev.net

Forum: ARM programming with GCC/GNU tools Bug in GCC 4.1 or WinARM?


von Jim K. (ancaritha)


Rate this post
useful
not useful
I hit an interesting snag today... I was wondering if anyone else had
run across a similar bug in GCC/WinARM (don't know which).  Heres the
relevant code:


const char* commandStrings[MsgHeader::NUM_COMMANDS] =
{
  "get",
        // Theres more here, but its all the same type of stuff
        // NUM_COMMANDS is just an Enum (11 in this case)
};


struct TokenMap
{
  const char*  pszTokenString;
  U8      nEnumId;
};

TokenMap TokenMapCommands[] =
{
  { commandStrings[MsgHeader::COMMAND_GET], 1}
        // Again, more stuff is here
        // COMMAND_GET is an Enum
};


When I try to print out TokenMapCommands[0].pszTokenString it is NULL
(printing out TokenMapCommands[0].nEnumId returns 1), but I can print
out commandStrings[MsgHeader::COMMAND_GET] directly and it is "get" (as
it should be).

Does anyone know if there is an issue with accessing character pointers
inside an array of structures and if there is a known fix/work around?

von Clifford S. (clifford)


Rate this post
useful
not useful
WinARM is just a collection of tools. GCC generates machine code from
the source, so if it is a bug in the tool, then it will be with GCC.
However, it is highly unlikely that it is a bug with GCC, and more
likely with your code. The reason I suggest this is that there is
nothing unusual about this code, and GCC is a very mature product. A bug
this obvious would be expected to have shown up elsewhere.

The best approach is to reproduce the error with as small a piece of
complete and compilable code as possible that produces the error so that
others can actually test it. Something like this for example.

const char* commandStrings[1] =
{
    "get",
};

struct TokenMap
{
    const char*  pszTokenString;
    char nEnumId;
};

TokenMap TokenMapCommands[] =
{
    { commandStrings[0], 1}
};

#include <stdio.h>
int main()
{
    printf( "%s\n", TokenMapCommands[0].pszTokenString ) ;
}

You have not shown the code you are using to 'print out' the string, is
it possible that there is a flaw there (seems unlikely I admit). Another
possibility is that the data is being corrupted between initialisation
and printing. Since you have only posted fragments, it is not possible
to say if this is a possibility, we have only your assumption that the
rest of the code is valid.

Another possibility is that it is a compiler bug that occurs only with
certain compiler options, (optimization for example) so you should state
what options you are using. In fact better still post the compile log
text so we can see exactly how it is compiled an linked.

Finally, static initializers rely on correct crt0.s start-up code to do
the initialisation. Is it possible that this is not corrrect (which may
be the case if you have implemented your own start-up code, or modified
teh linker script for example). Again this is unlikley since some of the
other static data is correctly initialised.

Clifford

von Jim K. (ancaritha)


Rate this post
useful
not useful
I did feel that it would be unlikely that no one else in the GCC world
would be calling a string the way I did...  It just seemed so bizzare
that it wouldn't work that it was the only thing that I could think of.
Let me see if I can answer some of the other questions you posted.

The print out statement works fine, since I can use it for any other
combination of things and it works correctly.  I'm using optimization
level 1 and the assembly start up code I stole from the SAM7A3 Keil
example, so presumably its correct.

The code base I'm building from was originally built for the AVR ATmega
128, but I've been modifying it over the last two weeks to work on an
ARM.  I've made it so I can communicate over the serial port, it can
take the string, parse it and talk back to me.  The above posted code is
where it compares the parsed string to the values in commandString[]
(the string is being parsed correctly, I've printed it out).  This code
works perfectly on the AVR.


Now as for the compile print out... Its about 300 lines long, so I'm
modifying the file that this is in, so it will compile that and anything
else it needs.  That should trim down the size a bit.  Note, the two
warnings take place well after the problem and are not related to the
problematic code in any way.  I'm pretty sure they should be causing an
issure anyways.


1>Compiling C++: ../../../../Root/AppComps/TokenParser.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O1 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/TokenParser.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O1 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/TokenParser.o.d ../../../../Root/AppComps/TokenParser.cpp
-o .out/TokenParser.o
1>../../../../Root/AppComps/TokenParser.cpp: In static member function
'static Buffer* TokenParser::convertMsgToExtComm(Buffer*, U8)':
1>../../../../Root/AppComps/TokenParser.cpp:294: warning: cast from
'U8*' to 'MsgHeader*' increases required alignment of target type
1>../../../../Root/AppComps/TokenParser.cpp:306: warning: cast from
'U8*' to 'MsgCommandHeader*' increases required alignment of target type
1>Linking: .out/ArmExternalComm-0.1.0.elf
1>arm-elf-gcc -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O1 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ArmExternalComm-0.1.0.elf.d .out/SAM7A3Assembly.o
.out/SAM7Ainit.o .out/WinARMsyscalls.o  .out/ExternalCommHwConfig.o
.out/ExternalCommPlatformConfig.o .out/AppMain.o
.out/ExtCommP2_1Config.o .out/ExtCommConfig.o .out/ExternalCommMgr.o
.out/ExternalCommLayer.o .out/TokenParser.o .out/AppMessages.o
.out/Messages.o .out/FcError.o .out/PmStatus.o .out/SysEnums.o
.out/AppEnums.o .out/InterruptServicer.o .out/eepromDD.o
.out/serialPorts.o .out/EventMgr.o .out/TimerMgr.o .out/FcAssert.o
.out/BufferPool.o .out/SerialEncoder.o .out/AccessControlLayer.o
.out/InterSubSystemComm.o .out/Debug.o .out/SysStats.o .out/AtomicLock.o
.out/ObjectList.o .out/BaseObject.o .out/ConfigObject.o .out/Heap.o
--output .out/ArmExternalComm-0.1.0.elf -nostartfiles
-Wl,-Map=.out/ArmExternalComm-0.1.0.map,--cref -lc  -lm -lc -lgcc
-T../../../../Root/Builds/BuildComps/ArmResources/AT91SAM7A3-ROM.ld
1>Creating load file for Flash: .out/ArmExternalComm-0.1.0.hex
1>arm-elf-objcopy -O ihex .out/ArmExternalComm-0.1.0.elf
.out/ArmExternalComm-0.1.0.hex
1>Creating Extended Listing: .out/ArmExternalComm-0.1.0.lss
1>arm-elf-objdump -h -S -C .out/ArmExternalComm-0.1.0.elf >
.out/ArmExternalComm-0.1.0.lss
1>Creating Symbol Table: .out/ArmExternalComm-0.1.0.sym
1>arm-elf-nm -n .out/ArmExternalComm-0.1.0.elf >
.out/ArmExternalComm-0.1.0.sym
1>Creating load file for Bin: .out/ArmExternalComm-0.1.0.bin
1>arm-elf-objcopy -O binary .out/ArmExternalComm-0.1.0.elf
.out/ArmExternalComm-0.1.0.bin



Well, its a fresh new day, perhaps I shall think of something that is
causing this bug that makes me a sad panda.

Thanks for the help!

von Clifford S. (clifford)


Rate this post
useful
not useful
If you suspect the code generation, you should probably start by
switching off the optimisation (the optimizer is usually where most
compiler bugs turn up). If you have a debug interface, I suggest that
you use it to find this problem - if not why have you used the debug
option? Debugging optimised code is not straightforward either because
of out-of-order execution.

With respect to the 'print out', it was not so much the function
involved, but rather how it was being invoked, and how the parameters
are being passed that I was concerened about. I have seen a number of
'bugs' that were actually down to how the data was being observed rather
than the data actually being corrupted. You seem reluctant to show this
code - you are therefore making assumptions about where the error is,
but self evidently you don't know.

I would not say that 300 lines was too much to post, (I have a scroll
bar!).

Did you try the simplified code I posted? (You may need to modify it for
whatever output method you are using) - does that work?

Have you tried iterating through all of TokenMapCommands[]? Are the
strings incorrect, and all the nEnumId correct for each element, or just
the first one?

Not related but have you noticed that your compiler argument list
repeats the same arguments twice?

With respect to the warnings, there was a recent thread discussing cast
alignment. Removing the -Wcast-align option supresses the warning. It
really is benign, there are few cases when you would be concerened about
this - realignment to accommodate a cast is exactly what you would
expect the compiler to do - its just telling you that it is doing its
job! http://en.mikrocontroller.net/topic/69883. Some of the other
warning options you have used are already covered by -Wall.

Clifford

von Jim K. (ancaritha)


Rate this post
useful
not useful
Aye, I tried the simplified code you posted, along with an even more
simplified version where I just plugged the string straight into
TokenMap.  The reason why I was hesitant to show the print out command,
is because its not a straight printf, nor anything really similar to it.
This code is about 4 layers deeps inside a serial port communication
system.

snprintf((char*)pExtCommBuffer->data(),
pExtCommBuffer->spaceAvailable(), "%s, %d",
TokenMapCommands[0].pszTokenString, TokenMapCommands[0].nEnumId);

The above correctly prints out the EnumId, but the string is NULL.  If I
replace the string with commandStrings[0] it correctly prints out "get".
All of the pszStrings are NULL, are the EnumIds print out correctly.

I've tried it with optimization level 0.  I'm using the debug option
because it was on in the sample files that came with WinARM :)  I do
have a SAM-ICE, but I have been unsuccessful in finding a program that I
can use to debug with.  Trust me, I'd love to be able to debug this
thing right now :)

Thanks for taking the time to read over all this stuff and reply
Clifford!

And without further ado, my compile message at optimization level 0.
Oh, and all those no newling errors... which freakin' compiler flag is
that?  I tried to get rid of it but just ended up breaking everything,
and I couldn't find it in the GCC doc, though admittedly I didn't look
that long.


Edit:  hahahah, its too long to enter.  I'll make 2 posts.


1>------ Rebuild All started: Project: ExternalCommController,
Configuration: Debug Win32 ------
1>Performing Makefile project actions
1>-------- begin --------
1>Cleaning project:
1>rm -f .out/WinARMsyscalls.o
1>rm -f .out/ExternalCommHwConfig.o .out/ExternalCommPlatformConfig.o
.out/AppMain.o .out/ExtCommP2_1Config.o .out/ExtCommConfig.o
.out/ExternalCommMgr.o .out/ExternalCommLayer.o .out/TokenParser.o
.out/AppMessages.o .out/Messages.o .out/FcError.o .out/PmStatus.o
.out/SysEnums.o .out/AppEnums.o .out/InterruptServicer.o .out/eepromDD.o
.out/serialPorts.o .out/EventMgr.o .out/TimerMgr.o .out/FcAssert.o
.out/BufferPool.o .out/SerialEncoder.o .out/AccessControlLayer.o
.out/InterSubSystemComm.o .out/Debug.o .out/SysStats.o .out/AtomicLock.o
.out/ObjectList.o .out/BaseObject.o .out/ConfigObject.o .out/Heap.o
1>rm -f
1>rm -f .out/SAM7Ainit.o
1>rm -f
1>rm -f .out/SAM7A3Assembly.o
1>rm -f  .out/SAM7A3Assembly.lst .out/WinARMsyscalls.lst
.out/SAM7Ainit.lst .out/ExternalCommHwConfig.lst
.out/ExternalCommPlatformConfig.lst .out/AppMain.lst
.out/ExtCommP2_1Config.lst .out/ExtCommConfig.lst
.out/ExternalCommMgr.lst .out/ExternalCommLayer.lst .out/TokenParser.lst
.out/AppMessages.lst .out/Messages.lst .out/FcError.lst
.out/PmStatus.lst .out/SysEnums.lst .out/AppEnums.lst
.out/InterruptServicer.lst .out/eepromDD.lst .out/serialPorts.lst
.out/EventMgr.lst .out/TimerMgr.lst .out/FcAssert.lst
.out/BufferPool.lst .out/SerialEncoder.lst .out/AccessControlLayer.lst
.out/InterSubSystemComm.lst .out/Debug.lst .out/SysStats.lst
.out/AtomicLock.lst .out/ObjectList.lst .out/BaseObject.lst
.out/ConfigObject.lst .out/Heap.lst
1>rm -f .out/*
1>rm -f WinARMsyscalls.s
1>rm -f WinARMsyscalls.d
1>rm -f SAM7Ainit.s
1>rm -f SAM7Ainit.d
1>rm -f ExternalCommHwConfig.s ExternalCommPlatformConfig.s AppMain.s
ExtCommP2_1Config.s ExtCommConfig.s ExternalCommMgr.s
ExternalCommLayer.s TokenParser.s AppMessages.s Messages.s FcError.s
PmStatus.s SysEnums.s AppEnums.s InterruptServicer.s eepromDD.s
serialPorts.s EventMgr.s TimerMgr.s FcAssert.s BufferPool.s
SerialEncoder.s AccessControlLayer.s InterSubSystemComm.s Debug.s
SysStats.s AtomicLock.s ObjectList.s BaseObject.s ConfigObject.s Heap.s
1>rm -f ExternalCommHwConfig.d ExternalCommPlatformConfig.d AppMain.d
ExtCommP2_1Config.d ExtCommConfig.d ExternalCommMgr.d
ExternalCommLayer.d TokenParser.d AppMessages.d Messages.d FcError.d
PmStatus.d SysEnums.d AppEnums.d InterruptServicer.d eepromDD.d
serialPorts.d EventMgr.d TimerMgr.d FcAssert.d BufferPool.d
SerialEncoder.d AccessControlLayer.d InterSubSystemComm.d Debug.d
SysStats.d AtomicLock.d ObjectList.d BaseObject.d ConfigObject.d Heap.d
1>rm -f
1>rm -f
1>rm -f .dep/*
1>Errors: none
1>-------- end --------
1>arm-elf-gcc (GCC) 4.1.0 (WinARM)
1>Copyright (C) 2006 Free Software Foundation, Inc.
1>This is free software; see the source for copying conditions.  There
is NO
1>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
1>if test ! -e .out; then mkdir .out; fi
1>Assembling (ARM-only):
../../../../Root/Builds/BuildComps/ArmResources/SAM7A3Assembly.S
1>arm-elf-gcc -c -mcpu=arm7tdmi -mthumb-interwork -I. -x
assembler-with-cpp
../../../../Root/Builds/BuildComps/ArmResources/SAM7A3Assembly.S -o
.out/SAM7A3Assembly.o
1>Compiling C (ARM-only):
../../../../Root/Builds/BuildComps/ArmResources/SAM7Ainit.c
1>arm-elf-gcc -c -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/SAM7Ainit.o.d -Wnested-externs  -std=gnu99
../../../../Root/Builds/BuildComps/ArmResources/SAM7Ainit.c -o
.out/SAM7Ainit.o
1>Compiling C:
../../../../Root/Builds/BuildComps/ArmResources/WinARMsyscalls.c
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/WinARMsyscalls.o.d -Wnested-externs  -std=gnu99
../../../../Root/Builds/BuildComps/ArmResources/WinARMsyscalls.c -o
.out/WinARMsyscalls.o
1>Compiling C++:
../../../../Root/HwConfigurations/ARM/ExternalCommHwConfig.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommHwConfig.o.d -mcpu=arm7tdmi -mthumb-interwork
-I. -gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommHwConfig.o.d
../../../../Root/HwConfigurations/ARM/ExternalCommHwConfig.cpp -o
.out/ExternalCommHwConfig.o
1>Compiling C++:
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommPlatformConfig.o.d -mcpu=arm7tdmi
-mthumb-interwork -I. -gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200
-DArmExternalComm -DVERSION_MAJOR=0 -DVERSION_MINOR=1
-DVERSION_RELEASE=0 -DROM_RUN -DVECTORS_ROM -D__WinARM__  -O0 -Wall
-Wcast-align -Wimplicit  -Wpointer-arith -Wswitch -Wredundant-decls
-Wreturn-type -Wshadow -Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommPlatformConfig.o.d
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp -o
.out/ExternalCommPlatformConfig.o
1>In file included from ../../../AppComps/ExternalCommMgr.h:20,
1>                 from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:15:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../ControlComps/BasePwm.h:17,
1>                 from ../../../ControlComps/BaseControl.h:19,
1>                 from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:17:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../ControlComps/BasePwm.h:18,
1>                 from ../../../ControlComps/BaseControl.h:19,
1>                 from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:17:
1>../../../ControlComps/HwDriveMode.h:38:7: warning: no newline at end
of file
1>In file included from ../../../ControlComps/BaseControl.h:19,
1>                 from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:17:
1>../../../ControlComps/BasePwm.h:78:7: warning: no newline at end of
file
1>In file included from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:17:
1>../../../ControlComps/BaseControl.h:110:7: warning: no newline at end
of file
1>In file included from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:21:
1>../../../ControlComps/ServoMon.h:40:7: warning: no newline at end of
file
1>In file included from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:22:
1>../../../ControlComps/Device.h:65:7: warning: no newline at end of
file
1>In file included from
../../../../Root/SystemConfigurations/FpcConfig.h:17,
1>                 from
../../../../Root/SystemConfigurations/ExternalCommPlatformConfig.cpp:29:
1>../../../ControlComps/HwDriveMode.h:38:7: warning: no newline at end
of file
1>../../../ControlComps/BasePwm.h:22: warning: 'struct BasePwm' has
virtual functions but non-virtual destructor
1>../../../ControlComps/BaseControl.h:63: warning: 'struct BaseControl'
has virtual functions but non-virtual destructor
1>../../../ControlComps/Device.h:21: warning: 'struct HardwareDevice'
has virtual functions but non-virtual destructor
1>../../../ControlComps/Device.h:26: warning: 'struct PwmDevice' has
virtual functions but non-virtual destructor
1>../../../ControlComps/Device.h:34: warning: 'struct SoftwarePwmDevice'
has virtual functions but non-virtual destructor
1>../../../ControlComps/Device.h:51: warning: 'struct HardwarePwmDevice'
has virtual functions but non-virtual destructor
1>Compiling C++: ../../../../Root/AppComps/AppMain.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AppMain.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AppMain.o.d ../../../../Root/AppComps/AppMain.cpp -o
.out/AppMain.o
1>In file included from ../../../../Root/AppComps/AppMain.cpp:21:
1>../../../SysComps/EventMgr.h:92:7: warning: no newline at end of file
1>In file included from ../../../../Root/AppComps/AppMain.cpp:27:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/AppComps/AppMain.cpp:28:
1>../../../../Root/AppComps/SysStats.h:128:7: warning: no newline at end
of file
1>../../../../Root/AppComps/AppMain.cpp: In function 'int main(int,
char**)':
1>../../../../Root/AppComps/AppMain.cpp:56: warning: cast from 'U8*' to
'BaseObject*' increases required alignment of target type
1>Compiling C++:
../../../../Root/SystemConfigurations/ExtCommP2_1Config.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExtCommP2_1Config.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExtCommP2_1Config.o.d
../../../../Root/SystemConfigurations/ExtCommP2_1Config.cpp -o
.out/ExtCommP2_1Config.o
1>../../../../Root/SystemConfigurations/ExtCommP2_1Config.cpp: In
function 'void FccMgrDebugFormat(char*, size_t, S32)':
1>../../../../Root/SystemConfigurations/ExtCommP2_1Config.cpp:74:
warning: format '%x' expects type 'unsigned int', but argument 4 has
type 'S32'
1>Compiling C++: ../../../../Root/SystemConfigurations/ExtCommConfig.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExtCommConfig.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExtCommConfig.o.d
../../../../Root/SystemConfigurations/ExtCommConfig.cpp -o
.out/ExtCommConfig.o
1>Compiling C++: ../../../../Root/AppComps/ExternalCommMgr.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommMgr.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommMgr.o.d
../../../../Root/AppComps/ExternalCommMgr.cpp -o .out/ExternalCommMgr.o
1>In file included from ../../../../Root/AppComps/ExternalCommMgr.h:20,
1>                 from
../../../../Root/AppComps/ExternalCommMgr.cpp:19:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from
../../../../Root/AppComps/ExternalCommMgr.cpp:23:
1>../../../SysComps/EventMgr.h:92:7: warning: no newline at end of file
1>../../../../Root/AppComps/ExternalCommMgr.cpp: In static member
function 'static void ExternalCommMgr::handleMessageEvent(void*, U16)':
1>../../../../Root/AppComps/ExternalCommMgr.cpp:134: warning: cast from
'U8*' to 'MsgCommandHeader*' increases required alignment of target type
1>../../../../Root/AppComps/ExternalCommMgr.cpp: At global scope:
1>../../../../Root/AppComps/ExternalCommMgr.cpp:110: warning: 'void
dumpMessage(Buffer*)' defined but not used
1>Compiling C++: ../../../../Root/SysComps/ExternalCommLayer.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommLayer.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ExternalCommLayer.o.d
../../../../Root/SysComps/ExternalCommLayer.cpp -o
.out/ExternalCommLayer.o
1>In file included from
../../../../Root/SysComps/ExternalCommLayer.cpp:20:
1>../../../../Root/SysComps/EventMgr.h:92:7: warning: no newline at end
of file
1>Compiling C++: ../../../../Root/AppComps/TokenParser.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/TokenParser.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/TokenParser.o.d ../../../../Root/AppComps/TokenParser.cpp
-o .out/TokenParser.o
1>../../../../Root/AppComps/TokenParser.cpp: In static member function
'static Buffer* TokenParser::convertMsgToISSC(Buffer*, U8*)':
1>../../../../Root/AppComps/TokenParser.cpp:213: warning: suggest
parentheses around assignment used as truth value
1>../../../../Root/AppComps/TokenParser.cpp: In static member function
'static Buffer* TokenParser::convertMsgToExtComm(Buffer*, U8)':
1>../../../../Root/AppComps/TokenParser.cpp:287: warning: cast from
'U8*' to 'MsgHeader*' increases required alignment of target type
1>../../../../Root/AppComps/TokenParser.cpp:299: warning: cast from
'U8*' to 'MsgCommandHeader*' increases required alignment of target type
1>Compiling C++: ../../../../Root/AppComps/AppMessages.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AppMessages.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AppMessages.o.d ../../../../Root/AppComps/AppMessages.cpp
-o .out/AppMessages.o
1>In file included from ../../../../Root/AppComps/ConfigObject.h:21,
1>                 from ../../../../Root/AppComps/SysStats.h:17,
1>                 from ../../../../Root/AppComps/AppMessages.cpp:17:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/AppComps/AppMessages.cpp:17:
1>../../../../Root/AppComps/SysStats.h:128:7: warning: no newline at end
of file
1>../../../../Root/AppComps/AppMessages.cpp: In static member function
'static U8 EnumMsg::createMsg(Buffer*, U8, char**)':
1>../../../../Root/AppComps/AppMessages.cpp:48: warning: cast from 'U8*'
to 'EnumMsg*' increases required alignment of target type
1>../../../../Root/AppComps/AppMessages.cpp: In static member function
'static U8 ObjectDataMsg::createMsg(Buffer*, U8, char**)':
1>../../../../Root/AppComps/AppMessages.cpp:105: warning: cast from
'U8*' to 'ObjectDataMsg*' increases required alignment of target type
1>../../../../Root/AppComps/AppMessages.cpp: In static member function
'static U8 MsgCommandHeader::customParse(Buffer*, U8, char**)':
1>../../../../Root/AppComps/AppMessages.cpp:263: warning: cast from
'U8*' to 'MsgCommandHeader*' increases required alignment of target type
1>Compiling C++: ../../../../Root/SysComps/Messages.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/Messages.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/Messages.o.d ../../../../Root/SysComps/Messages.cpp -o
.out/Messages.o
1>../../../../Root/SysComps/Messages.cpp: In static member function
'static void GenericU32Msg::showValues(MsgCommandHeader*, char*,
size_t)':
1>../../../../Root/SysComps/Messages.cpp:40: warning: format '%u'
expects type 'unsigned int', but argument 4 has type 'U32'
1>Compiling C++: ../../../../Root/AppComps/FcError.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/FcError.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/FcError.o.d ../../../../Root/AppComps/FcError.cpp -o
.out/FcError.o
1>Compiling C++: ../../../../Root/AppComps/PmStatus.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/PmStatus.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/PmStatus.o.d ../../../../Root/AppComps/PmStatus.cpp -o
.out/PmStatus.o
1>Compiling C++: ../../../../Root/AppComps/SysEnums.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/SysEnums.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/SysEnums.o.d ../../../../Root/AppComps/SysEnums.cpp -o
.out/SysEnums.o
1>In file included from ../../../../Root/AppComps/FccMgr.h:26,
1>                 from ../../../../Root/AppComps/SysEnums.cpp:5:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/AppComps/FccMgr.h:27,
1>                 from ../../../../Root/AppComps/SysEnums.cpp:5:
1>../../../ControlComps/HwDriveMode.h:38:7: warning: no newline at end
of file
1>In file included from ../../../ControlComps/BasePoller.h:21,
1>                 from ../../../ControlComps/BaseMachine.h:17,
1>                 from ../../../ControlComps/ChargeMachine.h:22,
1>                 from ../../../../Root/AppComps/SysEnums.cpp:8:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../ControlComps/BaseMachine.h:18,
1>                 from ../../../ControlComps/ChargeMachine.h:22,
1>                 from ../../../../Root/AppComps/SysEnums.cpp:8:
1>../../../ControlComps/HwDriveMode.h:38:7: warning: no newline at end
of file
1>../../../ControlComps/BasePoller.h:23: warning: 'struct BasePoller'
has virtual functions but non-virtual destructor
1>../../../ControlComps/BaseMachine.h:20: warning: 'struct BaseMachine'
has virtual functions but non-virtual destructor
1>../../../ControlComps/ChargeMachine.h:25: warning: 'struct
ChargeMachine' has virtual functions but non-virtual destructor
1>../../../ControlComps/PurgeMachine.h:50: warning: 'struct
PurgeMachine' has virtual functions but non-virtual destructor
1>../../../ControlComps/StackShortMachine.h:41: warning: 'struct
StackShortMachine' has virtual functions but non-virtual destructor
1>../../../../Root/AppComps/SysEnums.cpp: In static member function
'static const char* SysEnums::getStringFromId(U8, U8)':
1>../../../../Root/AppComps/SysEnums.cpp:89: warning: unused variable
'bResult'

von Jim K. (ancaritha)


Rate this post
useful
not useful
1>Compiling C++: ../../../../Root/AppComps/AppEnums.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AppEnums.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AppEnums.o.d ../../../../Root/AppComps/AppEnums.cpp -o
.out/AppEnums.o
1>In file included from ../../../../Root/AppComps/ConfigObject.h:21,
1>                 from ../../../../Root/AppComps/PowerMgrT1.h:14,
1>                 from ../../../../Root/AppComps/AppEnums.cpp:17:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../ControlComps/BasePoller.h:21,
1>                 from ../../../ControlComps/BaseMachine.h:17,
1>                 from ../../../../Root/AppComps/AppEnums.cpp:18:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../ControlComps/BaseMachine.h:18,
1>                 from ../../../../Root/AppComps/AppEnums.cpp:18:
1>../../../ControlComps/HwDriveMode.h:38:7: warning: no newline at end
of file
1>In file included from ../../../../Root/AppComps/FccMgr.h:27,
1>                 from ../../../../Root/AppComps/AppEnums.cpp:22:
1>../../../ControlComps/HwDriveMode.h:38:7: warning: no newline at end
of file
1>../../../ControlComps/BasePoller.h:23: warning: 'struct BasePoller'
has virtual functions but non-virtual destructor
1>../../../ControlComps/BaseMachine.h:20: warning: 'struct BaseMachine'
has virtual functions but non-virtual destructor
1>../../../ControlComps/PurgeMachine.h:50: warning: 'struct
PurgeMachine' has virtual functions but non-virtual destructor
1>../../../ControlComps/StackShortMachine.h:41: warning: 'struct
StackShortMachine' has virtual functions but non-virtual destructor
1>Compiling C++:
../../../../Root/HwConfigurations/ARM/InterruptServicer.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/InterruptServicer.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/InterruptServicer.o.d
../../../../Root/HwConfigurations/ARM/InterruptServicer.cpp -o
.out/InterruptServicer.o
1>Compiling C++: ../../../../Root/HwDrivers/ARM/eepromDD.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/eepromDD.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/eepromDD.o.d ../../../../Root/HwDrivers/ARM/eepromDD.cpp -o
.out/eepromDD.o
1>Compiling C++: ../../../../Root/HwDrivers/ARM/serialPorts.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/serialPorts.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/serialPorts.o.d
../../../../Root/HwDrivers/ARM/serialPorts.cpp -o .out/serialPorts.o
1>../../../../Root/HwDrivers/ARM/serialPorts.cpp: In function 'void
ExtComm_Rx_Interrupt()':
1>../../../../Root/HwDrivers/ARM/serialPorts.cpp:217: warning: left
shift count >= width of type
1>../../../../Root/HwDrivers/ARM/serialPorts.cpp:217: warning: left
shift count >= width of type
1>../../../../Root/HwDrivers/ARM/serialPorts.cpp: At global scope:
1>../../../../Root/HwDrivers/ARM/serialPorts.cpp:49: warning:
's_fpHandleIsscTxEmpty' defined but not used
1>../../../../Root/HwDrivers/ARM/serialPorts.cpp:50: warning:
's_fpHandleIsscRxReady' defined but not used
1>Compiling C++: ../../../../Root/SysComps/EventMgr.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/EventMgr.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/EventMgr.o.d ../../../../Root/SysComps/EventMgr.cpp -o
.out/EventMgr.o
1>In file included from ../../../../Root/SysComps/EventMgr.cpp:16:
1>../../../../Root/SysComps/EventMgr.h:92:7: warning: no newline at end
of file
1>In file included from ../../../AppComps/ConfigObject.h:21,
1>                 from ../../../AppComps/SysStats.h:17,
1>                 from ../../../../Root/SysComps/EventMgr.cpp:18:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/SysComps/EventMgr.cpp:18:
1>../../../AppComps/SysStats.h:128:7: warning: no newline at end of file
1>../../../../Root/SysComps/EventMgr.cpp: In static member function
'static U16 EventMgr::init(U8*, U16)':
1>../../../../Root/SysComps/EventMgr.cpp:60: warning: cast from 'U8*' to
'isrEvent*' increases required alignment of target type
1>Compiling C++: ../../../../Root/SysComps/TimerMgr.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/TimerMgr.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/TimerMgr.o.d ../../../../Root/SysComps/TimerMgr.cpp -o
.out/TimerMgr.o
1>In file included from ../../../../Root/SysComps/TimerMgr.cpp:17:
1>../../../../Root/SysComps/EventMgr.h:92:7: warning: no newline at end
of file
1>In file included from ../../../AppComps/ConfigObject.h:21,
1>                 from ../../../AppComps/SysStats.h:17,
1>                 from ../../../../Root/SysComps/TimerMgr.cpp:18:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/SysComps/TimerMgr.cpp:18:
1>../../../AppComps/SysStats.h:128:7: warning: no newline at end of file
1>../../../../Root/SysComps/TimerMgr.cpp: In static member function
'static U16 TimerMgr::init(U8*, U16)':
1>../../../../Root/SysComps/TimerMgr.cpp:32: warning: cast from 'U8*' to
'timer*' increases required alignment of target type
1>Compiling C++: ../../../../Root/SysComps/FcAssert.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/FcAssert.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/FcAssert.o.d ../../../../Root/SysComps/FcAssert.cpp -o
.out/FcAssert.o
1>Compiling C++: ../../../../Root/SysComps/BufferPool.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/BufferPool.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/BufferPool.o.d ../../../../Root/SysComps/BufferPool.cpp -o
.out/BufferPool.o
1>In file included from ../../../AppComps/ConfigObject.h:21,
1>                 from ../../../AppComps/SysStats.h:17,
1>                 from ../../../../Root/SysComps/BufferPool.cpp:19:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/SysComps/BufferPool.cpp:19:
1>../../../AppComps/SysStats.h:128:7: warning: no newline at end of file
1>../../../../Root/SysComps/BufferPool.cpp:172:7: warning: no newline at
end of file
1>../../../../Root/SysComps/BufferPool.cpp: In static member function
'static U16 BufferPool::init(U8*, U16, U8)':
1>../../../../Root/SysComps/BufferPool.cpp:69: warning: cast from 'U8*'
to 'Buffer*' increases required alignment of target type
1>../../../../Root/SysComps/BufferPool.cpp:74: warning: cast from 'U8*'
to 'Buffer*' increases required alignment of target type
1>../../../../Root/SysComps/BufferPool.cpp: In static member function
'static Buffer* BufferPool::getBuffer()':
1>../../../../Root/SysComps/BufferPool.cpp:91: warning: cast from 'U8*'
to 'Buffer*' increases required alignment of target type
1>Compiling C++: ../../../../Root/SysComps/SerialEncoder.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/SerialEncoder.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/SerialEncoder.o.d
../../../../Root/SysComps/SerialEncoder.cpp -o .out/SerialEncoder.o
1>In file included from ../../../../Root/SysComps/SerialEncoder.cpp:19:
1>../../../../Root/SysComps/EventMgr.h:92:7: warning: no newline at end
of file
1>In file included from ../../../AppComps/ConfigObject.h:21,
1>                 from ../../../AppComps/SysStats.h:17,
1>                 from ../../../../Root/SysComps/SerialEncoder.cpp:21:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/SysComps/SerialEncoder.cpp:21:
1>../../../AppComps/SysStats.h:128:7: warning: no newline at end of file
1>Compiling C++: ../../../../Root/SysComps/AccessControlLayer.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AccessControlLayer.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AccessControlLayer.o.d
../../../../Root/SysComps/AccessControlLayer.cpp -o
.out/AccessControlLayer.o
1>In file included from
../../../../Root/SysComps/AccessControlLayer.cpp:18:
1>../../../../Root/SysComps/EventMgr.h:92:7: warning: no newline at end
of file
1>In file included from ../../../AppComps/ConfigObject.h:21,
1>                 from ../../../AppComps/SysStats.h:17,
1>                 from
../../../../Root/SysComps/AccessControlLayer.cpp:20:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from
../../../../Root/SysComps/AccessControlLayer.cpp:20:
1>../../../AppComps/SysStats.h:128:7: warning: no newline at end of file
1>../../../../Root/SysComps/AccessControlLayer.cpp: In member function
'void AccessControlLayer::init(U8, SerialEncoder*, U8*, U16)':
1>../../../../Root/SysComps/AccessControlLayer.cpp:27: warning: cast
from 'U8*' to 'Buffer**' increases required alignment of target type
1>../../../../Root/SysComps/AccessControlLayer.cpp: In member function
'void AccessControlLayer::setupFrame(Buffer*, U8, U8)':
1>../../../../Root/SysComps/AccessControlLayer.cpp:99: warning: cast
from 'U8*' to 'TokenHeader*' increases required alignment of target type
1>../../../../Root/SysComps/AccessControlLayer.cpp: In member function
'void AccessControlLayer::enqueueReply(Buffer*)':
1>../../../../Root/SysComps/AccessControlLayer.cpp:166: warning: cast
from 'U8*' to 'TokenHeader*' increases required alignment of target type
1>../../../../Root/SysComps/AccessControlLayer.cpp: In member function
'void AccessControlLayer::enqueueLogMsg(Buffer*)':
1>../../../../Root/SysComps/AccessControlLayer.cpp:178: warning: cast
from 'U8*' to 'LogHeader*' increases required alignment of target type
1>../../../../Root/SysComps/AccessControlLayer.cpp: In member function
'void AccessControlLayer::pktRx(void*, U16)':
1>../../../../Root/SysComps/AccessControlLayer.cpp:318: warning: cast
from 'U8*' to 'TokenHeader*' increases required alignment of target type
1>Compiling C++: ../../../../Root/AppComps/InterSubSystemComm.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/InterSubSystemComm.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/InterSubSystemComm.o.d
../../../../Root/AppComps/InterSubSystemComm.cpp -o
.out/InterSubSystemComm.o
1>../../../../Root/AppComps/InterSubSystemComm.cpp:492:7: warning: no
newline at end of file
1>Compiling C++: ../../../../Root/SysComps/Debug.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/Debug.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/Debug.o.d ../../../../Root/SysComps/Debug.cpp -o
.out/Debug.o
1>../../../../Root/SysComps/Debug.cpp:62:7: warning: no newline at end
of file
1>Compiling C++: ../../../../Root/AppComps/SysStats.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/SysStats.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/SysStats.o.d ../../../../Root/AppComps/SysStats.cpp -o
.out/SysStats.o
1>In file included from ../../../../Root/AppComps/ConfigObject.h:21,
1>                 from ../../../../Root/AppComps/SysStats.h:17,
1>                 from ../../../../Root/AppComps/SysStats.cpp:18:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/AppComps/SysStats.cpp:18:
1>../../../../Root/AppComps/SysStats.h:128:7: warning: no newline at end
of file
1>In file included from ../../../../Root/AppComps/SysStats.cpp:25:
1>../../../SysComps/EventMgr.h:92:7: warning: no newline at end of file
1>Compiling C++: ../../../../Root/SysComps/AtomicLock.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AtomicLock.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/AtomicLock.o.d ../../../../Root/SysComps/AtomicLock.cpp -o
.out/AtomicLock.o
1>Compiling C++: ../../../../Root/AppComps/ObjectList.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ObjectList.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ObjectList.o.d ../../../../Root/AppComps/ObjectList.cpp -o
.out/ObjectList.o
1>In file included from ../../../../Root/AppComps/ObjectList.cpp:15:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>In file included from ../../../../Root/AppComps/ObjectList.cpp:19:
1>../../../../Root/AppComps/SysStats.h:128:7: warning: no newline at end
of file
1>../../../../Root/AppComps/ObjectList.cpp: In static member function
'static void ObjectList::init(U8*, U8, void (*)(U16, U8, void*), BOOL
(*)(U16, void*, U8), PermObjectData*, U16)':
1>../../../../Root/AppComps/ObjectList.cpp:53: warning: cast from 'U8*'
to 'BaseObject**' increases required alignment of target type
1>../../../../Root/AppComps/ObjectList.cpp: In static member function
'static BOOL ObjectList::handleMessageEvent(void*, U16)':
1>../../../../Root/AppComps/ObjectList.cpp:116: warning: cast from 'U8*'
to 'ObjectDataMsg*' increases required alignment of target type
1>Compiling C++: ../../../../Root/SysComps/BaseObject.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/BaseObject.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/BaseObject.o.d ../../../../Root/SysComps/BaseObject.cpp -o
.out/BaseObject.o
1>In file included from ../../../../Root/SysComps/BaseObject.cpp:16:
1>../../../../Root/SysComps/BaseObject.h:91:7: warning: no newline at
end of file
1>Compiling C++: ../../../../Root/AppComps/ConfigObject.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ConfigObject.o.d -mcpu=arm7tdmi -mthumb-interwork -I.
-gdwarf-2 -DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ConfigObject.o.d ../../../../Root/AppComps/ConfigObject.cpp
-o .out/ConfigObject.o
1>In file included from ../../../../Root/AppComps/ConfigObject.h:21,
1>                 from ../../../../Root/AppComps/ConfigObject.cpp:14:
1>../../../SysComps/BaseObject.h:91:7: warning: no newline at end of
file
1>Compiling C++: ../../../../Root/SysComps/Heap.cpp
1>arm-elf-gcc -c -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/Heap.o.d -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/Heap.o.d ../../../../Root/SysComps/Heap.cpp -o .out/Heap.o
1>Linking: .out/ArmExternalComm-0.1.0.elf
1>arm-elf-gcc -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-DExternalComm -DEXT_BAUD_RATE=115200 -DArmExternalComm
-DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_RELEASE=0 -DROM_RUN
-DVECTORS_ROM -D__WinARM__  -O0 -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -I../../../SysComps -I../../../AppComps
-I../../../HwDrivers/ARM -I../../../GenComps -I../../../ControlComps
-I../../../SystemConfigurations -I../../../HwConfigurations/ARM
-I../../../HwComponents -I../../../Builds/BuildComps/ArmResources -MD
-MP -MF .dep/ArmExternalComm-0.1.0.elf.d .out/SAM7A3Assembly.o
.out/SAM7Ainit.o .out/WinARMsyscalls.o  .out/ExternalCommHwConfig.o
.out/ExternalCommPlatformConfig.o .out/AppMain.o
.out/ExtCommP2_1Config.o .out/ExtCommConfig.o .out/ExternalCommMgr.o
.out/ExternalCommLayer.o .out/TokenParser.o .out/AppMessages.o
.out/Messages.o .out/FcError.o .out/PmStatus.o .out/SysEnums.o
.out/AppEnums.o .out/InterruptServicer.o .out/eepromDD.o
.out/serialPorts.o .out/EventMgr.o .out/TimerMgr.o .out/FcAssert.o
.out/BufferPool.o .out/SerialEncoder.o .out/AccessControlLayer.o
.out/InterSubSystemComm.o .out/Debug.o .out/SysStats.o .out/AtomicLock.o
.out/ObjectList.o .out/BaseObject.o .out/ConfigObject.o .out/Heap.o
--output .out/ArmExternalComm-0.1.0.elf -nostartfiles
-Wl,-Map=.out/ArmExternalComm-0.1.0.map,--cref -lc  -lm -lc -lgcc
-T../../../../Root/Builds/BuildComps/ArmResources/AT91SAM7A3-ROM.ld
1>Creating load file for Flash: .out/ArmExternalComm-0.1.0.hex
1>arm-elf-objcopy -O ihex .out/ArmExternalComm-0.1.0.elf
.out/ArmExternalComm-0.1.0.hex
1>Creating Extended Listing: .out/ArmExternalComm-0.1.0.lss
1>arm-elf-objdump -h -S -C .out/ArmExternalComm-0.1.0.elf >
.out/ArmExternalComm-0.1.0.lss
1>Creating Symbol Table: .out/ArmExternalComm-0.1.0.sym
1>arm-elf-nm -n .out/ArmExternalComm-0.1.0.elf >
.out/ArmExternalComm-0.1.0.sym
1>Creating load file for Bin: .out/ArmExternalComm-0.1.0.bin
1>arm-elf-objcopy -O binary .out/ArmExternalComm-0.1.0.elf
.out/ArmExternalComm-0.1.0.bin
1>Size after:
1>.out/ArmExternalComm-0.1.0.elf  :
1>section
size      addr
1>.text
50440         0
1>.gnu.linkonce.t._Z21AT91F_AIC_ConfigureItP10_AT91S_AICjjjPFvvE
180     50440
1>.gnu.linkonce.t._Z18AT91F_AIC_EnableItP10_AT91S_AICj
44     50620
1>.gnu.linkonce.t._Z27AT91F_PMC_EnablePeriphClockP10_AT91S_PMCj
36     50664
1>.gnu.linkonce.t._Z13AT91F_PITInitP11_AT91S_PITCjj
100     50700
1>.gnu.linkonce.t._Z18AT91F_PITEnableIntP11_AT91S_PITC
40     50800
1>.gnu.linkonce.t._Z17AT91F_PITC_CfgPMCv
36     50840
1>.gnu.linkonce.t._ZN15ExternalCommMgr15defaultBaudRateEv
20     50876
1>.gnu.linkonce.t._ZN13ObjectDataMsg17setMsgFormatBlockEP22ExternalMsgFo 
rmatBlockh
52     50896
1>.gnu.linkonce.t._ZN10BaseObject9setVTableEP12ObjectVTable
36     50948
1>.gnu.linkonce.t._ZN6Buffer4dataEv
40     50984
1>.gnu.linkonce.t._ZN6Buffer9maxLengthEv
32     51024
1>.gnu.linkonce.t._ZN6Buffer6lengthEv
32     51056
1>.gnu.linkonce.t._ZN6Buffer14spaceAvailableEv
56     51088
1>.gnu.linkonce.t._ZN18AccessControlLayer18registerForLogMsgsEPFvPvtE
36     51144
1>.gnu.linkonce.t._ZN13SerialEncoder18setPreProccessFuncEPFhP6BufferhE
36     51180
1>.gnu.linkonce.t._ZN13SerialEncoder19setPostProccessFuncEPFhP6BufferE
36     51216
1>.gnu.linkonce.t._ZN13SerialEncoder15setImpliedStartEh
68     51252
1>.gnu.linkonce.t._ZN6Buffer8growTailEh
64     51320
1>.gnu.linkonce.t._ZN6Buffer8chopTailEh
64     51384
1>.gnu.linkonce.t._ZN6Buffer7addDataEh
92     51448
1>.gnu.linkonce.t._ZN6Buffer5resetEv
48     51540
1>.gnu.linkonce.t._ZN6Buffer3srcEv
28     51588
1>.gnu.linkonce.t._ZN6Buffer12addReferenceEv
52     51616
1>.gnu.linkonce.t._ZN6Buffer12reserveSpaceEhhh
88     51668
1>.gnu.linkonce.t._ZN6Buffer8chopHeadEh
88     51756
1>.gnu.linkonce.t._ZN13ObjectDataMsg8setErrorEh
36     51844
1>.gnu.linkonce.t._ZN13ObjectDataMsg8getErrorEv
32     51880
1>.gnu.linkonce.t._Z19AT91F_PDC_SetNextRxP10_AT91S_PDCPcj
56     51912
1>.gnu.linkonce.t._Z19AT91F_PDC_SetNextTxP10_AT91S_PDCPcj
56     51968
1>.gnu.linkonce.t._Z15AT91F_PDC_SetRxP10_AT91S_PDCPcj
56     52024
1>.gnu.linkonce.t._Z15AT91F_PDC_SetTxP10_AT91S_PDCPcj
56     52080
1>.gnu.linkonce.t._Z18AT91F_PDC_EnableTxP10_AT91S_PDC
32     52136
1>.gnu.linkonce.t._Z18AT91F_PDC_EnableRxP10_AT91S_PDC
28     52168
1>.gnu.linkonce.t._Z19AT91F_PDC_DisableTxP10_AT91S_PDC
32     52196
1>.gnu.linkonce.t._Z19AT91F_PDC_DisableRxP10_AT91S_PDC
28     52228
1>.gnu.linkonce.t._Z14AT91F_PDC_OpenP10_AT91S_PDC
168     52256
1>.gnu.linkonce.t._Z19AT91F_PIO_CfgPeriphP10_AT91S_PIOjj
76     52424
1>.gnu.linkonce.t._Z17AT91F_US_Baudratejj
136     52500
1>.gnu.linkonce.t._Z20AT91F_US_SetBaudrateP12_AT91S_USARTjj
68     52636
1>.gnu.linkonce.t._Z21AT91F_US_SetTimeguardP12_AT91S_USARTj
36     52704
1>.gnu.linkonce.t._Z17AT91F_US_EnableItP12_AT91S_USARTj
36     52740
1>.gnu.linkonce.t._Z18AT91F_US_DisableItP12_AT91S_USARTj
36     52776
1>.gnu.linkonce.t._Z18AT91F_US_ConfigureP12_AT91S_USARTjjjj
152     52812
1>.gnu.linkonce.t._Z16AT91F_US_PutCharP12_AT91S_USARTi
40     52964
1>.gnu.linkonce.t._Z16AT91F_US_GetCharP12_AT91S_USART
32     53004
1>.gnu.linkonce.t._Z17AT91F_DBGU_CfgPIOv
44     53036
1>.gnu.linkonce.t._ZN6Buffer14referenceCountEv
32     53080
1>.gnu.linkonce.t._ZN6Buffer4initEh
72     53112
1>.gnu.linkonce.t._ZN13SerialEncoder15isSpecialSymbolEh
96     53184
1>.gnu.linkonce.t._ZN13SerialEncoder15getValueFromEscEh
48     53280
1>.gnu.linkonce.t._ZN13SerialEncoder15getEscFromValueEh
48     53328
1>.gnu.linkonce.t._ZN6Buffer8peekDataEv
48     53376
1>.gnu.linkonce.t._ZN6Buffer8nextDataEv
92     53424
1>.gnu.linkonce.t._ZN6Buffer6setSrcEPv
48     53516
1>.gnu.linkonce.t._ZN6Buffer7rawDataEv
28     53564
1>.gnu.linkonce.t._ZN6Buffer8growHeadEh
88     53592
1>.gnu.linkonce.t._ZN10BaseObject9getVTableEv
28     53680
1>.gnu.linkonce.t._ZN16MsgCommandHeader12prepareReplyEPS_
100     53708
1>.rodata
4596     53808
1>.rodata.str1.4
164     58404
1>.data
3736   2097152
1>.ctors
4   2100888
1>.bss
576   2100892
1>.comment
1944         0
1>.debug_aranges
1984         0
1>.debug_pubnames
9518         0
1>.debug_info
136421         0
1>.debug_abbrev
13640         0
1>.debug_line
13093         0
1>.debug_frame
9744         0
1>.debug_str
2938         0
1>.debug_loc
15217         0
1>Total
267383
1>Build log was saved at
"file://z:\Src\Root\Builds\BAOKit\ExternalCommController\Debug\BuildLog. 
htm"
1>ExternalCommController - 0 error(s), 92 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

von Stefan (Guest)


Rate this post
useful
not useful
Is MsgHeader a namespace or a class? What happens, when you fill
TokenMapCommands[] at run time and not at compile time? Same error with
Cliffords example?

Stefan

von Jim K. (ancaritha)


Rate this post
useful
not useful
Stefan wrote:
> Is MsgHeader a namespace or a class? What happens, when you fill
> TokenMapCommands[] at run time and not at compile time? Same error with
> Cliffords example?
>
> Stefan

A) MsgHeader is none of the above :)  Its a struct.

B) I swear that I filled TokenMapCommands are run time once before and
it didn't work...  I tried it again for shits and giggles and it did
work...  Maybe I had changed something else before and it broke it, or
perhaps I loaded the wrong image?  Who knows... either way, it works
now, and theres gonna be a dance party at my place.  Stefan and
Clifford, you two are invited, bring friends :)

von Clifford S. (clifford)


Rate this post
useful
not useful
> B) I swear that I filled TokenMapCommands are run time once before and
> it didn't work...  I tried it again for shits and giggles and it did
> work...  Maybe I had changed something else before and it broke it, or
> perhaps I loaded the wrong image?  Who knows... either way, it works
> now, and theres gonna be a dance party at my place.  Stefan and
> Clifford, you two are invited, bring friends :)

If you really want to get to the bottom of this, I'd suggest crawling
through the link map and a hex dump of the code binary to determine if
the linker has set up the static initialisers correctly. If it has,
maybe there is some wierdness in the runtime startup. Have you tried
removing the const specifiers? This I think may change the way the
linker places the data - I am not suggesting that as a fix necessarily,
just an experiment to provide clues at to what is happening.

Jim Kaz wrote:
> Oh, and all those no newling errors... which freakin' compiler flag is
> that?  I tried to get rid of it but just ended up breaking everything,
> and I couldn't find it in the GCC doc, though admittedly I didn't look
> that long.

Newline at the end of all sourcefiles is an ISO C99 requirement. Just
edit the files and add a blank line at the end. (alternatively I think
you don't get the warning for older 'standards' - you selected
-std=gnu99).

The reason it is a requirement is because of the behaviour of the C
preprocessor. It simply strings files together a they are #include'ed.
When a file is included that does not end in a blank line, the line
immediatly following the inclusion will be appended to teh last line of
the previous include, possibly changing the meaning entirely. For
example

-----an_include.h----
// this is the last line
---------------------
----asourcefile.c----
#include "an_include.h"
void func()
{
}
---------------------

The preprocessor produces:
----preprocessed file---
// this is the last linevoid func()
{
}
-------------------------

Which will fail in a way that is very hard to spot from a typical
compile log.


Clifford

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.