comp.lang.ada
 help / color / mirror / Atom feed
* unknown warning in GNAT-GPS
@ 2016-10-01 12:40 mehdi saada
  2016-10-01 17:12 ` Aurele
  0 siblings, 1 reply; 3+ messages in thread
From: mehdi saada @ 2016-10-01 12:40 UTC (permalink / raw)


Hello.
I am not sure this is the right place, so excuse me if it is not.
I got a strange warning in GNAT-GPS, that I just installed. Version 4.8 (debian jessie package version) and 2.24.4 for gtkada (same).
The warning doesn't make compilations fail, at least for simple hello world project. It is "sys:1: Warning: Source ID 2012 was not found when attempting to remove it".
What does it mean ?
I got problems using (after a seemingly correct compilation) testada, which most of you should know about, so eventhough I am sure this program is just too old and now incompatible with the latest version of gtk+(at least), maybe this warning has something to do with it ? Would be cool, if I could use testada.

Thanks,
Mehdi


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

* Re: unknown warning in GNAT-GPS
  2016-10-01 12:40 unknown warning in GNAT-GPS mehdi saada
@ 2016-10-01 17:12 ` Aurele
  2016-10-03  8:02   ` briot.emmanuel
  0 siblings, 1 reply; 3+ messages in thread
From: Aurele @ 2016-10-01 17:12 UTC (permalink / raw)


I think its because in the past you must have compiled your project with an older version of GPS.  In GPS menu, try Clean/Clean All, then Clean/Clean Root and then recompile.  Hope this helps o/


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

* Re: unknown warning in GNAT-GPS
  2016-10-01 17:12 ` Aurele
@ 2016-10-03  8:02   ` briot.emmanuel
  0 siblings, 0 replies; 3+ messages in thread
From: briot.emmanuel @ 2016-10-03  8:02 UTC (permalink / raw)


On Saturday, October 1, 2016 at 7:12:02 PM UTC+2, Aurele wrote:
> I think its because in the past you must have compiled your project with an older version of GPS.  In GPS menu, try Clean/Clean All, then Clean/Clean Root and then recompile.  Hope this helps o/

No, in general this warning is emitted by the gtk+ library, when GPS tries to cancel a background "idle" or "timeout" loop (which is how single-threaded GPS splits long actions). In this case, the loop has likely terminated early, and GPS did not reset the internal id for it, so it still tries to cancel it. We have cleaned up a number of these for the next release of GPS.

In any case, the warning can be safely ignored and is not dangerous.

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

end of thread, other threads:[~2016-10-03  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-01 12:40 unknown warning in GNAT-GPS mehdi saada
2016-10-01 17:12 ` Aurele
2016-10-03  8:02   ` briot.emmanuel

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