Re: RFC: multi-sourced file, multiple choice 'instanciations'

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

 



Arnaud, All,

On Wednesday 15 December 2010 02:46:25 Arnaud Lacombe wrote:
> On Tue, Dec 14, 2010 at 6:34 PM, Yann E. MORIN
> <yann.morin.1998@xxxxxxxxxxxxxxx> wrote:
> > But currently, mconf refuses to include the same files more than once:
> >  component-2.in:12: file 'common.in' is already sourced from 'component-1.in'
> >
> > This is trivial to 'fix', when the multi-sourced file does not have choices
> > in it, that is only bools, strings, ints... Just yank the 6-or-so lines that
> > are responsible for the check.
> >
> this open the way to infinite inclusion loop.

Yes, of course. This is indeed not a proper fix, hence the quotes.
If we were to allow multi-sourced files, we'd have to check the inclusion
chain to avoid recursive inclusion.

I can't promise anything, but I will try to look at it tonight (that is,
starting now...).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux