[LLVMbugs] [Bug 10705] New: #pragma include_alias with -fms-extensions option

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 19 04:29:51 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10705

           Summary: #pragma include_alias with -fms-extensions option
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: eremeev at viva64.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Starting clang with Microsoft Extensions support (-fms-extensions), in file,
containing include_alias pragma, for example:

#pragma include_alias("stdafx.h", "test.h")
#include "stdafx.h"

Clang generates the following error: fatal error: 'stdafx.h' file not found.
Replacing stdafx.h with test.h fixes the issue.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list