[cfe-dev] builtins.py doesn't work in my command prompt.

ByeongCheol Nam lezo524 at hotmail.com
Tue Jan 14 02:10:59 PST 2014


I compiled clang 3.5 with tdm-gcc64 which is nice.
when I try to compile my simple code but it doesn't work. (just showing
32bit and 64bit pointer size.)

so I've found out this language comparability issue.
(http://clang.llvm.org/compatibility.html#vector_builtins)

builtins.py *.c *.h

it doesn't work like the document said.

here is the message.
--------------------------------------------------------------------------------
C:\TDM\CLANG64R\lib\gcc\x86_64-w64-mingw32\4.8.1\include>python builtins.py
*.c *.h
Traceback (most recent call last):
  File "builtins.py", line 153, in <module>
    for line in fileinput.input(inplace=1):
  File "C:\Program Files\Python33\lib\fileinput.py", line 259, in __next__
    line = self.readline()
  File "C:\Program Files\Python33\lib\fileinput.py", line 328, in readline
    os.rename(self._filename, self._backupfilename)
OSError: [WinError 123] \ud30c\uc77c \uc774\ub984, \ub514\ub809\ud130\ub9ac
\uc774\ub984 ub610\ub294 \ubcfc\ub968 \ub808\uc774\ube14 \uad6c\ubb38\uc774
\uc798\ubabb\ub418\uc5c8\uc2b5\ub2c8\ub2e4: '*.c.bak'
--------------------------------------------------------------------------------

fileinput.py line:327 ~ 328 is here..

                    # The next few lines may raise IOError
                    os.rename(self._filename, self._backupfilename)

what it means by that? may raise IOError...
anyway I'm not python user right now. :(



--
View this message in context: http://clang-developers.42468.n3.nabble.com/builtins-py-doesn-t-work-in-my-command-prompt-tp4037149.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list