[LLVMbugs] [Bug 7177] New: Case-sensitivity of included files

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 19 17:29:25 PDT 2010


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

           Summary: Case-sensitivity of included files
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: John.Thompson.JTSoftware at gmail.com
                CC: llvmbugs at cs.uiuc.edu


This should probably work on Windows:

//once.cpp
#include "onlyOnce.h"
#include "OnlyOnce.h"

//onlyOnce.h
#pragma once
int def;

But the preprocessor creates separate entries for the include file, and thus
the #pragma once doesn't prevent the double definition.

-- 
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