Note that different versions of GNU assembler may behave differently wrt.
this flag.

Also note that g++ on Mac should be told to use the native Xcode assembler,
which is accomplished by "-Wa,-q".

On Wed, Jun 15, 2016 at 9:58 AM, Jeffrey Walton <noloa...@gmail.com> wrote:

>
> I noticed the Makefile has a line (
>>> http://github.com/weidai11/cryptopp/blob/master/GNUmakefile#L146):
>>>
>>> ifneq ($(IS_SUN),0)
>>> CXXFLAGS += -Wa,--divide # allow use of "/" operator
>>> endif
>>>
>>> That is a GNU Assembler option. It seems that block has not been
>>> executed in some time, including 5.6.2 and earlier:
>>>
>>>     $ git checkout CRYPTOPP_5_6_2
>>>     $ make -j 2
>>>     g++ -DNDEBUG -g -O2 -pipe -c cryptlib
>>>     ...
>>>
>>> My question is, should this be fixed?
>>>
>>
>> Let me be the first to answer that :)
>>
>> Yes, its needed on Solaris (and maybe others):
>>
>
> Fixed at
> http://github.com/weidai11/cryptopp/commit/8d940f1c3f1b1594cdea679b8ae0475dbdc80ea4
>
> --
> --
> You received this message because you are subscribed to the "Crypto++
> Users" Google Group.
> To unsubscribe, send an email to
> cryptopp-users-unsubscr...@googlegroups.com.
> More information about Crypto++ and this group is available at
> http://www.cryptopp.com.
> ---
> You received this message because you are subscribed to the Google Groups
> "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cryptopp-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Mouse

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to