Project

General

Profile

Actions

Bug #3668

open

Compilation with -DWT_HAVE_GNU_REGEX needs some patches

Added by Laurence Withers over 10 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
11/17/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I've been working to reduce the footprint of an application using Wt on my embedded system, and explored the -DWT_HAVE_GNU_REGEX option. I have hit two issues with wt-3.3.4-rc1: first, there's no way to turn off the Boost::Regex detection in CMake, and second, there is a type mismatch (seemingly introduced in commit b794e1e12d866d209ba153699f35b10fa00c5358) preventing compilation within src/web/WebController.C (a std::string changed to a const char* but the HAVE_GNU_REGEX path was not changed).

I will attach the patch I am using which is not suitable for general use as it just drops Boost::Regex from CMake altogether (I don't know enough CMake to implement an option), but the patch to the source should be correct.


Files

Updated by Laurence Withers over 10 years ago

#3

Updated by Koen Deforche over 10 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
  • Target version set to 3.3.4
#5

Updated by Laurence Withers over 10 years ago

#6

Updated by Koen Deforche about 10 years ago

  • Status changed from InProgress to New
Actions

Also available in: Atom PDF