These come courtesy of Sun Studio 11 on Solaris 10 in case you care: "http11.c", line 54: warning: syntax error: empty declaration "http11.c", line 55: warning: syntax error: empty declaration "http11.c", line 56: warning: syntax error: empty declaration "http11.c", line 57: warning: syntax error: empty declaration "http11.c", line 58: warning: syntax error: empty declaration "ext/http11/http11_parser.rl", line 57: warning: statement not reached I''m not sure what to make of the empty declaration warnings. Confusion caused by macros? I have no clue on the parser. Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
On Jul 20, 2006, at 3:32 PM, Daniel Berger wrote:> These come courtesy of Sun Studio 11 on Solaris 10 in case you care: > > "http11.c", line 54: warning: syntax error: empty declaration > "http11.c", line 55: warning: syntax error: empty declaration > "http11.c", line 56: warning: syntax error: empty declaration > "http11.c", line 57: warning: syntax error: empty declaration > "http11.c", line 58: warning: syntax error: empty declaration > > "ext/http11/http11_parser.rl", line 57: warning: statement not reached > > I''m not sure what to make of the empty declaration warnings. > Confusion caused > by macros? > > I have no clue on the parser. > > Regards, > > DanYes those don''t show up when you compile it correctly on Solaris. I can send a how-to (just need to look it up) and we have sparc and amd64 packages for mongrel. - Jason ?????????????????????????????????????????????????????????????????????? Jason A. Hoffman, PhD | Founder, CTO, Joyent Inc., TextDrive Inc. Email: jason at joyent.com or jason at textdrive.com ??????????????????????????????????????????????????????????????????????
Hey Dan, that''s in the bug list. I just have to change a define. The parser is actually defined in the .rl file (should be in the gem, but if not check svn). I''ll fix it though when I tackle the bugs for the 0.3.13.4 release. On Thu, 2006-07-20 at 16:32 -0600, Daniel Berger wrote:> These come courtesy of Sun Studio 11 on Solaris 10 in case you care: > > "http11.c", line 54: warning: syntax error: empty declaration > "http11.c", line 55: warning: syntax error: empty declaration > "http11.c", line 56: warning: syntax error: empty declaration > "http11.c", line 57: warning: syntax error: empty declaration > "http11.c", line 58: warning: syntax error: empty declaration > > "ext/http11/http11_parser.rl", line 57: warning: statement not reached
On Thu, 2006-07-20 at 19:14 -0700, Jason A. Hoffman wrote:> On Jul 20, 2006, at 3:32 PM, Daniel Berger wrote: > > These come courtesy of Sun Studio 11 on Solaris 10 in case you care: > > > > "http11.c", line 54: warning: syntax error: empty declaration > > "http11.c", line 55: warning: syntax error: empty declaration > > "http11.c", line 56: warning: syntax error: empty declaration > > "http11.c", line 57: warning: syntax error: empty declaration > > "http11.c", line 58: warning: syntax error: empty declaration > > > > "ext/http11/http11_parser.rl", line 57: warning: statement not reached > > > > I''m not sure what to make of the empty declaration warnings. > > Confusion caused > > by macros? > >> Yes those don''t show up when you compile it correctly on Solaris. I > can send a how-to (just need to look it up) and we have sparc and > amd64 packages for mongrel.You also don''t get those when you use a compiler that''s compliant with the standard (empty declarations are perfectly alright). But hey, when you''re Sun you don''t need no GCC. (Not that GCC is all that compliant). Zed
Jason A. Hoffman wrote:> On Jul 20, 2006, at 3:32 PM, Daniel Berger wrote: >> These come courtesy of Sun Studio 11 on Solaris 10 in case you care: >> >> "http11.c", line 54: warning: syntax error: empty declaration >> "http11.c", line 55: warning: syntax error: empty declaration >> "http11.c", line 56: warning: syntax error: empty declaration >> "http11.c", line 57: warning: syntax error: empty declaration >> "http11.c", line 58: warning: syntax error: empty declaration >> >> "ext/http11/http11_parser.rl", line 57: warning: statement not reached >> >> I''m not sure what to make of the empty declaration warnings. >> Confusion caused >> by macros? >> >> I have no clue on the parser. >> >> Regards, >> >> Dan > > Yes those don''t show up when you compile it correctly on Solaris. I > can send a how-to (just need to look it up) and we have sparc and > amd64 packages for mongrel. > > - JasonI should have included my setup: CC=cc CFLAGS=''-dalign -fns -xbuiltin=%all -xlibmil -xtarget=ultra2e -xO5 -xipo'' LDSHARED=''cc -G -xO5 -xipo -xtarget=ultra2e'' LDFLAGS=''-xO5 -xipo -xtarget=ultra2e'' EXTLDFLAGS=''-xO5 -xipo -xtarget=ultra2e'' It''s a stock Sunblade 150, btw. If those flags aren''t ideal, I''d love to know what ''correct'' settings are, as I''m fairly new to Sun''s cc. I switched to it because I wanted to use blastwave packages and I was tired of dealing with the gcc compatibility issues. If you have packages for Solaris, may I ask where they are? And can we get them on blastwave? :) Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Zed Shaw wrote:> On Thu, 2006-07-20 at 19:14 -0700, Jason A. Hoffman wrote: >> On Jul 20, 2006, at 3:32 PM, Daniel Berger wrote: >>> These come courtesy of Sun Studio 11 on Solaris 10 in case you care: >>> >>> "http11.c", line 54: warning: syntax error: empty declaration >>> "http11.c", line 55: warning: syntax error: empty declaration >>> "http11.c", line 56: warning: syntax error: empty declaration >>> "http11.c", line 57: warning: syntax error: empty declaration >>> "http11.c", line 58: warning: syntax error: empty declaration >>> >>> "ext/http11/http11_parser.rl", line 57: warning: statement not reached >>> >>> I''m not sure what to make of the empty declaration warnings. >>> Confusion caused >>> by macros? >>> > >> Yes those don''t show up when you compile it correctly on Solaris. I >> can send a how-to (just need to look it up) and we have sparc and >> amd64 packages for mongrel. > > You also don''t get those when you use a compiler that''s compliant with > the standard (empty declarations are perfectly alright). But hey, when > you''re Sun you don''t need no GCC. (Not that GCC is all that compliant).Indeed, I''ve found gcc''s warnings have gone from ''slightly annoying'' in the 3.x branch to ''complete bullshit'' in the 4.x branch, which I only just tried recently. - Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
On Jul 21, 2006, at 6:58 AM, Daniel Berger wrote:> Zed Shaw wrote: >> On Thu, 2006-07-20 at 19:14 -0700, Jason A. Hoffman wrote: >>> On Jul 20, 2006, at 3:32 PM, Daniel Berger wrote: >>>> These come courtesy of Sun Studio 11 on Solaris 10 in case you >>>> care: >>>> >>>> "http11.c", line 54: warning: syntax error: empty declaration >>>> "http11.c", line 55: warning: syntax error: empty declaration >>>> "http11.c", line 56: warning: syntax error: empty declaration >>>> "http11.c", line 57: warning: syntax error: empty declaration >>>> "http11.c", line 58: warning: syntax error: empty declaration >>>> >>>> "ext/http11/http11_parser.rl", line 57: warning: statement not >>>> reached >>>> >>>> I''m not sure what to make of the empty declaration warnings. >>>> Confusion caused >>>> by macros? >>>> >> >>> Yes those don''t show up when you compile it correctly on Solaris. I >>> can send a how-to (just need to look it up) and we have sparc and >>> amd64 packages for mongrel. >> >> You also don''t get those when you use a compiler that''s compliant >> with >> the standard (empty declarations are perfectly alright). But hey, >> when >> you''re Sun you don''t need no GCC. (Not that GCC is all that >> compliant). > > Indeed, I''ve found gcc''s warnings have gone from ''slightly > annoying'' in the 3.x > branch to ''complete bullshit'' in the 4.x branch, which I only just > tried recently.I just put it up at http://joyeur.com/2006/07/21/a-mongrel-endorsement-and-a-manual-fix- for-installing-mongrel-on-solaris-1011 Because I also still owed Zed some blurbage. - Jason