View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009667 | libmicrohttpd | documentation | public | 2025-03-27 11:43 | 2025-08-16 15:43 |
Reporter | wiz | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.0.0 | ||||
Target Version | 1.0.1 | Fixed in Version | 1.0.1 | ||
Summary | 0009667: tutorial is outdated | ||||
Description | The tutorial at https://www.gnu.org/software/libmicrohttpd/tutorial.html seems to have last been updated in 2016. Much of the code in it doesn't compile since the HTTP handler function return value was changed from 'int' to 'MHD_Result' since then, leading to errors like this: error: invalid conversion from ‘int’ to ‘MHD_Result’ [-fpermissive] Please update the tutorial so the code compiles. Thank you! | ||||
Steps To Reproduce | Read the tutorial, try to run the code. | ||||
Tags | No tags attached. | ||||
|
Additionally, the example on the homepage doesn't compile either with -fpermissive: https://www.gnu.org/software/libmicrohttpd/ error: invalid conversion from ‘void*’ to ‘const char*’ [-fpermissive] 75 | const char * page = cls; | ^~~ | | | void* error: invalid conversion from ‘int’ to ‘MHD_Result’ [-fpermissive] 98 | return ret; | ^~~ | | | int |
|
Fixed now, thanks for reporting! |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-27 11:43 | wiz | New Issue | |
2025-03-27 11:47 | wiz | Note Added: 0024314 | |
2025-08-14 13:55 | Christian Grothoff | Assigned To | => Christian Grothoff |
2025-08-14 13:55 | Christian Grothoff | Status | new => assigned |
2025-08-16 15:42 | Christian Grothoff | Note Added: 0025650 | |
2025-08-16 15:42 | Christian Grothoff | Status | assigned => resolved |
2025-08-16 15:42 | Christian Grothoff | Resolution | open => fixed |
2025-08-16 15:42 | Christian Grothoff | Fixed in Version | => 1.0.1 |
2025-08-16 15:43 | Christian Grothoff | Target Version | => 1.0.1 |