Re: Gluster and GCC 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/29/2015 02:04 PM, Anoop C S wrote:
> 
> Reading through gcc docs I could see that with gcc v5, it defaults to
> C99 semantics and compiling with -fgnu89-inline solves the above
> issue. I'm wondering how glusterfs compiled successfully without
> providing this flag. 

Well, it didn't originally.

Most of the bugs were fixed before Fedora 22 arrived with gcc-5.

E.g. by building on Fedora Rawhide last year, reporting the bugs, and
getting them fixed before Rawhide turned into Fedora 22.

> I'm investigating on other ways to use inline
> that behave the same in the old and the new semantics.

Using a command line option to get 1989 compiler semantics in 2015 seems
like a mistake.

-- 

Kaleb
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux