On Nov 29, 2008, at 4:38 PM, Alan W. Irwin wrote: > On 2008-11-29 14:57-0700 Orion Poplawski wrote: > >> Anything different between -DHAVE_ADA_2007=ON and -DENABLE_ada? > > HAVE_ADA_2007 is quite different from ENABLE_ada. You don't have > to specify > -DENABLE_ada=ON anymore because it is ON by default (and turned off > automatically if our build system cannot find a GNAT compiler on your > system). HAVE_ADA_2007 ON or OFF simply specifies two different > ways to > build the Ada bindings and examples depending on whether your Ada > compiler > is ADA 2007 compliant or not. (I am not sure that is the right > terminology > because my google searches for Ada 2007 didn't turn up anything > much, but
I'm afraid I started the "2007" myth (but not out of thin air, since others have called the new Ada standard "Ada 2007," and it was completed in 2007). However, I inquired some time back at comp.lang.ada about what is the most correct name for the new Ada, and the answer is "Ada 2005". I'm not completely sure that it is an official name, but it is at least the consensus within the community. I might change the code to reflect this but don't want to break anything. It should be pretty easy from my standpoint (a few lines in each of only a few ad?.cmake files) but I don't know how much the 2007 has propagated elsewhere. Actually, what I would change in the Ada code is almost (but not completely) separate from the build system, and the user never sees it if looking at the .ad? source and not the .ad?.cmake sources. It would be nice if "2007" didn't appear during the build process as options etc. Jerry > according to the wikipedia article there was a big Ada standards > update for > 2007 so I am pretty sure compliance with that updated standard is > what Jerry > means by this terminology.) > > By default HAVE_ADA_2007 is turned OFF because not all Ada > compilers have > this capability, but it does work for GNAT version 4.3 (which is > the one I > have on Debian testing). > > I considered making a test for compliance with ADA 2007, but I decided > not to since I expect all Ada compilers will become consistent with > this > updated standard in the not too distant future. When Jerry judges the > time is right, we will set HAVE_ADA_2007 to ON as the default. > > Alan > __________________________ > Alan W. Irwin > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel