comp.lang.ada
 help / color / mirror / Atom feed
* dabian: how to "with" sax?
@ 2019-01-23 13:26 reinert
  2019-01-23 16:49 ` Anh Vo
  0 siblings, 1 reply; 5+ messages in thread
From: reinert @ 2019-01-23 13:26 UTC (permalink / raw)


Hello, I use gnat under debian/stretch.

I tried the Adacore examples of using sax:

http://docs.adacore.com/live/wave/xmlada/html/xmlada_ug/sax.html

Feeling stupid (gain), but how do I make the compiler find "Sax.Readers" etc?
Have to do something with "for Source_Dirs use (.....)" in the gpr file?  
(or -I option in gnatmake")?  Did not find out.

I installed all libxmlada* packages.

reinert


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dabian: how to "with" sax?
  2019-01-23 13:26 dabian: how to "with" sax? reinert
@ 2019-01-23 16:49 ` Anh Vo
  2019-01-24  4:27   ` reinert
  0 siblings, 1 reply; 5+ messages in thread
From: Anh Vo @ 2019-01-23 16:49 UTC (permalink / raw)


On Wednesday, January 23, 2019 at 5:26:57 AM UTC-8, reinert wrote:
> Hello, I use gnat under debian/stretch.
> 
> I tried the Adacore examples of using sax:
> 
> http://docs.adacore.com/live/wave/xmlada/html/xmlada_ug/sax.html
> 
> Feeling stupid (gain), but how do I make the compiler find "Sax.Readers" etc?
> Have to do something with "for Source_Dirs use (.....)" in the gpr file?  
> (or -I option in gnatmake")?  Did not find out.
> 
> I installed all libxmlada* packages.

Make sure your project references xmlada_sax project.

with "xmlada_sax";
project ...

Anh Vo
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dabian: how to "with" sax?
  2019-01-23 16:49 ` Anh Vo
@ 2019-01-24  4:27   ` reinert
  2019-01-28 20:08     ` Anh Vo
  0 siblings, 1 reply; 5+ messages in thread
From: reinert @ 2019-01-24  4:27 UTC (permalink / raw)


Yess, thanks.

I get this message (when compiling): 
warning: license of withed unit "Sax.Readers" may be inconsistent

Could there be problems related to open source practice using xmlada?
I feel I should ask more precise, but find it hard. 

reinert


onsdag 23. januar 2019 17.49.15 UTC+1 skrev Anh Vo følgende:
> On Wednesday, January 23, 2019 at 5:26:57 AM UTC-8, reinert wrote:
> > Hello, I use gnat under debian/stretch.
> > 
> > I tried the Adacore examples of using sax:
> > 
> > http://docs.adacore.com/live/wave/xmlada/html/xmlada_ug/sax.html
> > 
> > Feeling stupid (gain), but how do I make the compiler find "Sax.Readers" etc?
> > Have to do something with "for Source_Dirs use (.....)" in the gpr file?  
> > (or -I option in gnatmake")?  Did not find out.
> > 
> > I installed all libxmlada* packages.
> 
> Make sure your project references xmlada_sax project.
> 
> with "xmlada_sax";
> project ...
> 
> Anh Vo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dabian: how to "with" sax?
  2019-01-24  4:27   ` reinert
@ 2019-01-28 20:08     ` Anh Vo
  2019-01-29 16:26       ` Anh Vo
  0 siblings, 1 reply; 5+ messages in thread
From: Anh Vo @ 2019-01-28 20:08 UTC (permalink / raw)


On Wednesday, January 23, 2019 at 8:27:24 PM UTC-8, reinert wrote:
> Yess, thanks.
> 
> I get this message (when compiling): 
> warning: license of withed unit "Sax.Readers" may be inconsistent

I just did a quick test. No warning was seen. I used gnat-community-2018 on Windows. Gnat-community-2018 was also installed on my PC running Ubuntu at home. I will check it when getting home today.

Anh Vo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dabian: how to "with" sax?
  2019-01-28 20:08     ` Anh Vo
@ 2019-01-29 16:26       ` Anh Vo
  0 siblings, 0 replies; 5+ messages in thread
From: Anh Vo @ 2019-01-29 16:26 UTC (permalink / raw)


On Monday, January 28, 2019 at 12:08:05 PM UTC-8, Anh Vo wrote:
> On Wednesday, January 23, 2019 at 8:27:24 PM UTC-8, reinert wrote:
> > Yess, thanks.
> > 
> > I get this message (when compiling): 
> > warning: license of withed unit "Sax.Readers" may be inconsistent
> 
> I just did a quick test. No warning was seen. I used gnat-community-2018 on Windows. Gnat-community-2018 was also installed on my PC running Ubuntu at home. I will check it when getting home today.

Gnat-community-2018 running on Ubuntu behaved the same way as on Windows. No warning of licensing was seen. Thus, I would suggest to download and install gnat-community-2018.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-29 16:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 13:26 dabian: how to "with" sax? reinert
2019-01-23 16:49 ` Anh Vo
2019-01-24  4:27   ` reinert
2019-01-28 20:08     ` Anh Vo
2019-01-29 16:26       ` Anh Vo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox