Re: GnuGk 2.3.4 doesn't compile with GCC 4.1.2

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

 



Hi Moshe,

you can edit Makefile.in and remove these compiler options. They only
provide additional warnings during development. The C++ code isn't
affected by them.

I'll check if we can automatically disable them if used with an older
version of gcc.

Regards,
Jan

Moshe Matitya wrote:
> I am attempting to build GnuGk 2.3.4 on RH Enterprise 5.2, using GCC 4.1.2.
> 
> When I run make, the compiler fails with the following error messages:
> 
>     cc1plus: error: unrecognized command line option "-Wtype-limits"
>     cc1plus: error: unrecognized command line option "-Wstrict-overflow=5"
>     cc1plus: error: unrecognized command line option "-fstrict-overflow"
> 
> The errors make sense, since the GCC documentation<http://gcc.gnu.org/onlinedocs/> indicates that these three options were only introduced in GCC 4.3.5, and I am using 4.1.2.
> 
> Yet the GnuGk website<http://www.gnugk.org/compiling-gnugk.html> claims that "GCC 3.x to 4.5.x work fine for compiling GnuGk".
> 
> Does GnuGk 2.3.4, in fact, require GCC 4.3.5 or later?  Am I actually the first person who has tried to compile it using an earlier version than that??
> 
> Or am I missing something here?  How can I get around this without mucking around with the makefiles?
> 
> Moshe
> 


-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux