How do I add a photo to my comment or blog entry?
PATCH for apache-1.3 when compiled with gcc 4.3
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > PATCH for apache-1.3 when compiled with gcc 4.3 30 November 2008 03:54:54

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

PATCH for apache-1.3 when compiled with gcc 4.3

Salvador Ortiz Garcia 30 November 2008 03:54:54
 Hi all,

This afternoon I try to compile my standard bundle (mod_perl 1.30,
apache 1.3.41, libapreq-1.33, mod_ssl-2.8.31) in Fedora 10 that ships
with gcc 4.3.2 only to discover that the change announced in
<http://www.gnu.org­/software/gcc/gcc-4.­2/changes.html> broke the
compilation of apache-1.3.41/src/o­s/unix/os-inline.c when using -std=c99
(default for Fedora's perl)

I known that the problem is apache related, not mod_perl's, but there
are many mod_perl 1.x users out there that can be in trouble.

The attached patch fixes the problem.

Any one have contacts with legacy apache maintainers?

Regards.

Salvador Ortiz.

========= CUT ======
--- src/os/unix/os.h.or­ig 2008-11-29 00:11:23.000000000 -0600
+++ src/os/unix/os.h 2008-11-29 00:15:15.000000000 -0600
@@ -33,7 +33,12 @@
/* Compiler supports inline, so include the inlineable functions as
* part of the header
*/
+#ifdef __GNUC_STDC_INLINE_­_
+#define INLINE extern ap_inline __attribute__((gnu_­inline))
+#else
#define INLINE extern ap_inline
+#endif
+

INLINE int ap_os_is_path_absol­ute(const char *file);
Add comment
Philip M. Gollucci 30 November 2008 03:54:54 permanent link ]
 Salvador Ortiz Garcia wrote:
Hi all,
This afternoon I try to compile my standard bundle (mod_perl 1.30,
apache 1.3.41, libapreq-1.33, mod_ssl-2.8.31) in Fedora 10 that ships
with gcc 4.3.2 only to discover that the change announced in
compilation of apache-1.3.41/src/o­s/unix/os-inline.c when using -std=c99
(default for Fedora's perl)
I'm not sure which is better, but we could account for this is mod_perl
land. Personally, I wish both 1.x series would go away though.


--
-------------------­--------------------­--------------------­-------------
Philip M. Gollucci (pgollucci@p6m7g8.c­om)
c:703.336.9354
Consultant - P6M7G8 Inc. - http://p6m7g8.net
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > PATCH for apache-1.3 when compiled with gcc 4.3 30 November 2008 03:54:54

see also:
asking for advice
NetBeans Board Voting: Call for…
How to generate apichanges.html?
пройди тесты:
see also:
i am configuring SIB in was 6.0.i i...
Hello!
PS3 processor to migrate to mobiles

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .