[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] coding problems with multilib

From: Felix Ruess
Subject: Re: [Paparazzi-devel] coding problems with multilib
Date: Mon, 22 Oct 2012 19:58:35 +0200

It is normal and intended that way: if you add defines in a <section> in the airframe file, they will be added to the var/airframe_name/generated/airframe.h file.
So these defines are only available in files that include generated/airframe.h
If you add defines in the firmware node, or in the module node, they will be passed to gcc on the commandline via -Dfoo=bar, so they are defined globally...
IMHO, for modules it is nicer to define them in the appropriate load node, so it's clear where they belong to...

On Mon, Oct 22, 2012 at 7:46 PM, Chris <address@hidden> wrote:
If this means anything i solved the problem by moving the required definitions from the airframe to the
module xml file.
I don't think this is normal  as it used to work like this but anyway......

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]