今天下了Linux最新版的内核(3.8.2),打算在Windows下用Source Insight新建一个工程。
可没想到的是用Winrar解压到一半,突然报错:
无法创建 linux-3.8.2\drivers\gpu\drm\nouveau\core\subdev\i2c\aux.c
我了个去,以前可从来没有碰到过这种操蛋的问题啊。
莫非是下载的时候没有下完全?
于是乎重新又下载了一遍,再试,问题依旧...
莫非是这个压缩文件本身就有问题?
不会啊,我可是官方下载的呀!
好吧,下一个其他版本的试试。
于是乎重新又下载了一遍其他版本,再试,问题依旧...
这个时候我该怎么办呢?
地球人都知道 -- Google (not BaiXx)
查了半天,终于在stackoverflow上找到了答案!
The answer should be:we can't create a file named aux.c in windows!
See http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx
Do not use the following reserved device names for the name of a file: CON, PRN, AUX, NUL,
COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6,
LPT7, LPT8, and LPT9.
Also avoid these names followed immediately by an extension;
for example, NUL.txt is not recommended. For more information, see Namespaces.
我了个去!
Windows下面居然不能创建这么多默认名字的文件。
好吧,试一下,新建一个文件,命名"aux.c"。
果然不让我改!
好吧,结论是:我又一次被Windows打败了。
一个怪异的问题
posted on 2013-03-14 00:04 LeeX_ 阅读(...) 评论(...) 编辑 收藏
转载于:https://www.cnblogs.com/LeeX-cgg/archive/2013/03/14/2958620.html