Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » RegExp this'n that (RegExp update)
Re: RegExp this'n that: unneded creation of lib [message #47961 is a reply to message #47047] Thu, 27 April 2017 11:32 Go to previous messageGo to previous message
luoganda is currently offline  luoganda
Messages: 197
Registered: November 2016
Experienced Member
when pcre package is used with non gcc compilers,
library is unnecesarily produced - it's not needed for upp:)

pcre lib internally defines PCRE_STATIC for gcc(which in upp prevents lib creation),
but for upp it can be defined for all compilers.
So, adding new compiler option to pcre pack with -DPCRE_STATIC
wont create unnecesary lib/exp/work(including msvc).


For pcre 'stack_based' case; for many tests it seems to work ok with ... pos[33] - in RegExp.h,
stuff in lib/config.h can be removed, REC_STACK_SAVE_MAX(in pcre_exec.c) can be set to 33

[Updated on: Thu, 27 April 2017 12:10]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Incorrect SHA1 checksum for files 4GB+
Next Topic: ONE and assignement
Goto Forum:
  


Current Time: Wed May 08 03:22:51 CEST 2024

Total time taken to generate the page: 0.02573 seconds