View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009667 | libmicrohttpd | documentation | public | 2025-03-27 10:43 | 2026-07-28 21:41 |
| Reporter | wiz | Assigned To | Christian Grothoff | Due Date | |
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | 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 10:43 | wiz | New Issue | |
| 2025-03-27 10:47 | wiz | Note Added: 0024314 | |
| 2025-08-14 11:55 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2025-08-14 11:55 | Christian Grothoff | Status | new => assigned |
| 2025-08-16 13:42 | Christian Grothoff | Note Added: 0025650 | |
| 2025-08-16 13:42 | Christian Grothoff | Status | assigned => resolved |
| 2025-08-16 13:42 | Christian Grothoff | Resolution | open => fixed |
| 2025-08-16 13:42 | Christian Grothoff | Fixed in Version | => 1.0.1 |
| 2025-08-16 13:43 | Christian Grothoff | Target Version | => 1.0.1 |
| 2026-07-28 21:41 | Christian Grothoff | Status | resolved => closed |