Web Connection
8.3 compile error in wwhttpclient
Gravatar is a globally recognized avatar based on your email address. 8.3 compile error in wwhttpclient
  Richard Kaye
  All
  May 23, 2025 @ 09:55am

Hi Rick,

Getting around to installing 8.3. Ran setup, ran compilewc. Got this error:

# TODO
Error in line 7: Syntax error.

Here's the relevant bit:

#include wconnect.h
DO wwDotnetBridge
SET PROCEDURE TO wwHttpClient ADDITIVE


#IF .F.
# TODO

* Progress information and cancellation
* ConnectTimeout
* GZip and UTF-8 Encoding
* Certificate Handling
* Async Method(s)

#ENDIF
Gravatar is a globally recognized avatar based on your email address. re: 8.3 compile error in wwhttpclient
  Rick Strahl
  Richard Kaye
  May 24, 2025 @ 09:57am

Interesting - it errors even though it's inside fo the the #IF .F.. I fixed the #TODO - I guess any # is treated as a compiler directive that replaces on the original file before it's compiled and so before the #IF is evaluated. Interesting gotcha I've never run into...

To be clear though: wwHttpClient isn't used for anything at the moment it's just a prototype, so not sure how you caught that? You compiling all files in the folder? 😄

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: 8.3 compile error in wwhttpclient
  Rick Strahl
  Richard Kaye
  May 28, 2025 @ 05:28am

😄

IAC, it's fixed for the next update.

+++ Rick ---

© 1996-2025