Il giorno giovedì 22 aprile 2021 alle 11:24:41 UTC+2 Brian Candler ha 
scritto:

> Could you describe what platform you are trying to build on?
>
> Also, could you explain why you need to build such an ancient version? 
> There may be a better solution to whatever you're trying to do.
>

My platform is linux/amd64, and  I'm building it for fun.

When using https://github.com/perillo/go-compatible on my projects, I found 
that one of them is compatible with go1.2, and I was curious to know if it 
is compatible with go1.1 too.

About the gcc warnings, the _BSD_SOURCE and _SVID_SOURCE macros where 
defined in include/u.h; after removing them I got 2 other warnings:

   -  argument to 'sizeof' in 'strncpy' call is the same expression as the 
source; did you mean to use the size of the destination?
   - 'strncpy' output truncated before terminating nul copying 2 bytes from 
a string of the same length

from cmd/pack/ar.c.

Thanks
Manlio

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2b66aadb-8b44-4c71-91f2-3dc91c8b9c93n%40googlegroups.com.

Reply via email to