View Issue Details

IDProjectCategoryView StatusLast Update
0035420FPCFCLpublic2019-06-22 16:03
ReportersimoneAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionProduct Build 
Target VersionFixed in Version3.3.1 
Summary0035420: Fcl-Passrc does not support include path with spaces
Descriptionsee:

https://forum.lazarus.freepascal.org/index.php/topic,45108.0.html
TagsNo tags attached.
Fixed in Revision42270
FPCOldBugId
FPCTarget3.2.0
Attached Files

Activities

Michael Van Canneyt

2019-04-19 16:36

administrator   ~0115677

I will add this, but please keep in mind that ParseSource is just a convenience function. You can create a parser and scanner manually and add paths with spaces to the include paths.

Michael Van Canneyt

2019-06-22 16:03

administrator   ~0116848

The command-line will now be correctly parsed if you use quotes. i.e.
parsepp '"-Fia b" d.pp'
will correctly use 'a b' as include path.

There is an overloaded version (which is preferred) that uses an array of string for the arguments.

Issue History

Date Modified Username Field Change
2019-04-19 16:24 simone New Issue
2019-04-19 16:34 Michael Van Canneyt Project Lazarus => FPC
2019-04-19 16:34 Michael Van Canneyt Assigned To => Michael Van Canneyt
2019-04-19 16:34 Michael Van Canneyt Status new => assigned
2019-04-19 16:36 Michael Van Canneyt Note Added: 0115677
2019-06-22 16:03 Michael Van Canneyt Status assigned => resolved
2019-06-22 16:03 Michael Van Canneyt Resolution open => fixed
2019-06-22 16:03 Michael Van Canneyt Fixed in Version => 3.3.1
2019-06-22 16:03 Michael Van Canneyt Fixed in Revision => 42270
2019-06-22 16:03 Michael Van Canneyt FPCTarget => 3.2.0
2019-06-22 16:03 Michael Van Canneyt Note Added: 0116848