Skip to content

Precompiled header flags do not use quotes #2541

@bdbaddog

Description

@bdbaddog

This issue was originally created at: 2010-01-04 09:17:20.
This issue was reported by: coppro.
coppro said at 2010-01-04 09:17:20

The file names pass by the precompiled header routines are not wrapped in quotes, so an invalid character (such as a space) somewhere in the path will foul up the build.

Testcase:

env=Environment()
env['PCHSTOP'] = 'StdAfx.h'
env['PCH'] = env.PCH('StdAfx.cpp')[0]
env.Program('MyApp', ['Foo.cpp', 'Bar.cpp'])

Run from a directory with a space in the name (such as "C:\Program Files")

gregnoel said at 2010-02-03 13:57:20

Bug party triage. Needs a band-aid until full redesign is done. Do first thing after 2.0 is published.

garyo said at 2012-09-01 10:01:49

Bumping all old issues targeted for past releases to 2.x.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions