bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] wget1.14: warc.c: compilation fails due to C++ comments


From: Martin Baute
Subject: Re: [Bug-wget] wget1.14: warc.c: compilation fails due to C++ comments
Date: Wed, 17 Apr 2013 11:49:49 +0200
User-agent: Roundcube Webmail/0.6

Dear Maintainers,

I would like to confirm the issue mentioned below, for wget 1.14 on
AIX 6.1, configured with --disable-ssl using v11.1 of IBM's XL C for AIX.

I also can confirm that this is a regression from wget 1.13.4, which compiles
without problems.

In addition to changing the comments manually, there is also the workaround of setting CFLAGS=-qcpluscmt prior to calling ./configure to enable proper
handling of C++ style comments.

Hoping this will be fixed,
--
Martin Baute
address@hidden

On Thu, 9 Aug 2012 14:59:55, John Cornes wrote:

Dear Maintainers,
I'd like to report a minor issue: when compiling wget 1.14 on AIX 7.1
configured with --disable-ssl, using V12.1 of IBM's XL C for AIX
compiler, compilation failed in warc.c due to the presence of C++
style comments (//):

"warc.c", line 535.3: 1506-046 (S) Syntax error.
"warc.c", line 535.24: 1506-045 (S) Undeclared identifier digest.
"warc.c", line 536.3: 1506-277 (S) Syntax error: possible missing ';' or ','? "warc.c", line 537.49: 1506-045 (S) Undeclared identifier sha1_base32.
"warc.c", line 620.3: 1506-046 (S) Syntax error.
"warc.c", line 620.6: 1506-045 (S) Undeclared identifier RFC.
"warc.c", line 625.5: 1506-045 (S) Undeclared identifier uuid_data.
"warc.c", line 627.3: 1506-046 (S) Syntax error.
"warc.c", line 627.6: 1506-045 (S) Undeclared identifier Set.
"warc.c", line 632.49: 1506-045 (S) Undeclared identifier respectively.
make: 1254-004 The error code from the last command is 1.

warc.c:
  +535    // length: "sha1:" + digest + "\0"

  +620    // RFC 4122, a version 4 UUID with only random numbers

+627 // Set the four most significant bits (bits 12 through 15) of the
  +628    // time_hi_and_version field to the 4-bit version number

  +631    // Set the two most significant bits (bits 6 and 7) of the
  +632    // clock_seq_hi_and_reserved to zero and one, respectively.

Changing to c-style comments allowed compilation to succeed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]