From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!not-for-mail From: Christian Forler Newsgroups: comp.lang.ada Subject: Re: compiler problems with libadacrypt-dev-0.1.3 Date: Wed, 02 Apr 2014 10:54:17 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: NNTP-Posting-Host: medsec5.medien.uni-weimar.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: pinkpiglet.scc.uni-weimar.de 1396428857 26217 141.54.178.74 (2 Apr 2014 08:54:17 GMT) X-Complaints-To: news@pinkpiglet.scc.uni-weimar.de NNTP-Posting-Date: Wed, 2 Apr 2014 08:54:17 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 In-Reply-To: Xref: number.nntp.dca.giganews.com comp.lang.ada:185460 Date: 2014-04-02T10:54:17+02:00 List-Id: On 30.03.2014 14:54, batoubrioche@googlemail.com wrote: > For a project I need to use some of the libadacrypt library's facilities. I downloaded the most recent version of libadacrypt-dev-0.1.3 here at sourceforge > > http://sourceforge.net/projects/libadacrypt-dev/ > > First of all, I programmed some small test units with the library's big number support. > > But I get these error messages while compiling the crypto-types.ads source: > > Compiling ... > crypto-types.ads:108:34: first argument for shift must have size 8. 16, 32 or 64 > crypto-types.ads:109:34: first argument for shift must have size 8. 16, 32 or 64 > crypto-types.ads:291:30: incorrect intrinsic subprogram, see spec > crypto-types.ads:292:30: incorrect intrinsic subprogram, see spec > Done--error detected. > > I have no clue what is wrong here. Could someone tell me what is wrong with this source from the libadacrypt library? > > Btw. I use the gnat-gpl-2013-i686-pc-mingw32 package from Adacore for Windows. > The library at sourceforge is obsolete. Please use the current version from github https://github.com/cforler/Ada-Crypto-Library BTW. I'm the maintainer of this library. Best regards, Christian