l**********n 发帖数: 8443 | 1 Somebody has idea on the following error:
Information:Compilation completed with 1 error and 8 warnings in 2 sec
Information:1 error
Information:8 warnings
Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.
ServerException
Error compiling sbt component 'compiler-interface-2.9.1.final-52.0'
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$
apply$2.apply(AnalyzingCompiler.scala:145)
at sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$
appl... 阅读全帖 |
|
c*******n 发帖数: 671 | 2 谢谢,以下是我的X11/xorg.0.log, 我看不出来什么问题?是的我不应该删lightdm,
不是那个的问题。startx会出现我上面帖子写的Loading extension GLX, fatal
server error: no screen found. 请问我该怎么修复xwindow? 谢谢!
[ 4.113]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 4.113] X Protocol Version 11, Revision 0
[ 4.113] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[ 4.113] Current Operating System: Linux x-ThinkPad-X201 3.5.0-49-generic
#74-Ubuntu SMP Fri May 2 23:28:58 UTC 2014 x86_64
[ 4.113] Kernel command line: BOOT_IM... 阅读全帖 |
|
c*****s 发帖数: 180 | 3 The Stored Compiled Macro Facility
Remember that when a macro is compiled, it is stored in the temporary SAS
catalog Work.Sasmacr by default. You can also store compiled macros in a
permanent SAS catalog. Then you can use the Stored Compiled Macro Facility
to access permanent SAS catalogs that contain compiled macros.
There are several advantages to using stored compiled macros:
* SAS does not need to compile a macro definition when a macro call is
made.
* Session-compiled macros and the |
|
c*****s 发帖数: 180 | 4
Using Stored Compiled Macros
The Stored Compiled Macro Facility
Remember that when a macro is compiled, it is stored in the temporary SAS
catalog Work.Sasmacr by default. You can also store compiled macros in a
permanent SAS catalog. Then you can use the Stored Compiled Macro Facility
to access permanent SAS catalogs that contain compiled macros.
There are several advantages to using stored compiled macros:
* SAS does not need to compile a macro definition when a macro call is
made |
|
l*********s 发帖数: 5409 | 5 You are talking about theory, the post I referenced is talking about reality.
I am sorry that I am much more interested in reality than in theory. : -)
by the way, it is not bashing against java, since I am very
interested in learning java (for increasing my marketability).
===================================================================
"From a theoretical viewpoint, there's honestly not as much real controversy
as it might look like. What's actually happened is pretty simple: Java
advocates... 阅读全帖 |
|
t********r 发帖数: 4908 | 6 ☆─────────────────────────────────────☆
littleice (家有两宝:狗娃猪仔) 于 (Sat Apr 10 15:27:51 2010, 美东) 提到:
刚看了Outliers的后记,原来作者的外婆是个推外婆啊,:D
☆─────────────────────────────────────☆
flyinger (上香上香) 于 (Sat Apr 10 16:12:42 2010, 美东) 提到:
u r so fast
I am still in the process of paying at dangdang
dont know why my credit card payment failed
☆─────────────────────────────────────☆
Netstea (冰茶) 于 (Sat Apr 10 17:44:23 2010, 美东) 提到:
在当当买东西,用amex card付款比较好用
☆─────────────────────────────────────☆
... 阅读全帖 |
|
w*****3 发帖数: 910 | 7 My system is Ubuntu 10.10. I have a software which needs to compile from
source using Portland Group F90 compiler pgf90. However this compiler is not
free. I wonder whether I can use GNU free compiler, such as gfortran, to
compile the source code. There are some compiler configurations for
different compiler that I need to clarify. If somebody is a guru in this
field, please leave a message. I may contact you in person. Thanks a lot. |
|
r********r 发帖数: 208 | 8 http://www.infoworld.com/print/203737
Microsoft augments JavaScript for large-scale development
By IDG News Service staff
Created 2012-10-01 01:53PM
Equipping JavaScript to build more complex applications, Microsoft has
augmented JavaScript with a set of advanced development capabilities
typically found in more mature programming languages, such as C++ and Java.
These new capabilities, packaged as a JavaScript superset called TypeScript,
offers static typing, classes and modularization.
"Over th... 阅读全帖 |
|
s********x 发帖数: 914 | 9 难道是build.xml有问题?我用eclipse自动生成的。大家帮忙看看。I hate t
hat robot!!!
阅读全帖 |
|
发帖数: 1 | 10 Position: Software Engineer
Location: Bellevue, WA
Duration: 6+ Months
Description:
Job responsibility The Programming Technologies Lab of Huawei is seeking
candidates with expertise in the area of compiler implementation and
optimization. As a software engineer contractor, you will work in a highly
talented team, and are expected to contribute to the design and
implementation of a new general purpose programming language, as well as
building prototypes and production code using the new language... 阅读全帖 |
|
d**********o 发帖数: 1321 | 11 Senior Design (2): 一次会议一场lie
** Senior Design Meeting
e ([email protected]
/* */)
You replied on 11/4/2014 8:10 PM.
Sent: Tuesday, November 04, 2014 6:10 PM
To:
(me~) ((me~)@xxxx.uxxxx.edu)
Cc:
m ([email protected]
/* */); r ([email protected]
/* */); p ([email protected]
/* */)
Hello (me~),
Today for senior design we had a short meeting where we cleared up some
confusion about the GUI design. The grid which is the main work area will be
static. i.e. it will not ... 阅读全帖 |
|
d**********o 发帖数: 1321 | 12 Senior Design (2): 一次会议一场lie
** Senior Design Meeting
e ([email protected]
/* */)
You replied on 11/4/2014 8:10 PM.
Sent: Tuesday, November 04, 2014 6:10 PM
To:
(me~) ((me~)@xxxx.uxxxx.edu)
Cc:
m ([email protected]
/* */); r ([email protected]
/* */); p ([email protected]
/* */)
Hello (me~),
Today for senior design we had a short meeting where we cleared up some
confusion about the GUI design. The grid which is the main work area will be
static. i.e. it will not ... 阅读全帖 |
|
r***u 发帖数: 241 | 13 man javac
Cross-Compilation Options
By default, classes are compiled against the bootstrap and extension classes
of the platform that javac shipped with. But javac also supports cross-
compiling, where classes are compiled against a bootstrap and extension
classes of a different Java platform implementation. It is important to use
-bootclasspath and -extdirs when cross-compiling; see Cross-Compilation
Example below.
-target version
Generate class files that target a specified version of the VM. |
|
N*D 发帖数: 3641 | 14 scala不是wrap java,it跟java是parallel的。比如scala里面没有primary type,即
使x = y + z也是三个objects。但compile成byte code后,和java的是一摸一样的。不
存在wrap一说。JVM类似提供了一个ISA,scala实在没必要转成java first,当然it可
能会使用一些java compiled bytecode的template,而且只会使用安全高效的。比如it
取消了static,加入了singleton的object,他compile出来的bytecode肯定是安全和高
度优化的,会比大多数的developer写出来的强。
俺也是在学习过程中,一些拙见,呵呵。
compiler效率在scala中不是priority。我记得看到一篇文章说
作者想把直接compile成bytecode改成compile成java source,
然后用javac。其实scala是wrap java data types,会慢一些,
但因为是statically typed,还是比jython/jruby之类的快很多。 |
|
s******n 发帖数: 876 | 15 I read it somewhere but I can't be sure I remember it clearly.
Apparently, even before Generics, at java byte code level,
a class is allowed to have two methods of same signature,
if they have different return types.
class A // pseudo byte code
f(List)->String
f(List)->Integer
The byte code reference to a method actually includes the
return type, therefore the two methods can be distinguished.
// pseudo byte code invoking two methods
(A.f(List)->String) ();
(A.f(List)->Integer) ();
Of ... 阅读全帖 |
|
J*******n 发帖数: 2901 | 16 GWT compile之后的js + HTML 文件是在哪里存放的呢?
应该就在war里面某个位置,比如target folder里面,建议你先过一遍这个例子
https://developers.google.com/web-toolkit/doc/latest/tutorial/gettingstarted
这个compile之后的js文件是不是就是我们用GWT实现的效果的js代码? 还是我们不能
看到完整的js代码?
gwt compile出来会得到一个nocache js文件,它的后缀就是.nocache.js,意思就是
gwt每次compile都会regenerate这个文件,所以希望browser永远不要cache它,这个文
件主要是做一个deferred binding的作用。另外还有一些cache.html文件,nocache js
会在需要的时候load这些html,这些逻辑基本上都是hidden from you。
你可以看到完整的generated js代码,gwt提供了好几种compile的模式,最精简最小
size的一种(Obfuscated)也是最没有可读... 阅读全帖 |
|
r*******y 发帖数: 1081 | 17 I use g++
I tried this. If M is a class and given with M(int) and M(const M &)
if I write
M mm = 1;
then my experiment told that only M(int) is
called and M(const M &) is not called.
But if I write
M cc(1);
M nn = cc;
then M(const M &) is called in M nn=cc
Also as in my post at the beginning, I will fail to compile
M cc = 1;
if only M(M &) defined instead of M(const M&).
I read the book c++ primer and seems to get something there.
Let's look at M cc = 1. first a temporary object is initilized
w... 阅读全帖 |
|
c*****n 发帖数: 75 | 18 这个问题的确考了一些平时自己想当然而没有深究的东西。
1) int i = i;
这个相当于
int i; //define and allocate storage on stack.
i = i; // assignment operator.
所以 i 是 uninitialized. 选 A)
2) void main()
研究了一下。 对main()的prototype, C/C++ 不同的年代的标准有不同的要求
C-90: 应该return int, 但允许compiler自由加入对其他return type的support.
也就是说, void main(), float main()都可能被你的compiler 支持。
C-99: 同 C-90
C++: 只允许 int main();
gcc 选择了支持 void main().
g++ 没得选, 不能支持 void main().
由以下结果也可看出结论:
gcc -std=c99 // ok;
gcc -pedantic -std=c99 // warning: return type of ‘main’ is... 阅读全帖 |
|
d*****u 发帖数: 43 | 19 The difference is from inline optimization of the compiler.
When the function is inlined, the compiler has more information and
opportunities to optimize the code. At inlining, the compiler can emit
different code for the inner most loop body a+=i; .
On my VS2013, a+=i is as follows in Tempfunction():
movsd xmm0, QWORD PTR [eax] // load a
addsd xmm0, xmm1 // a += i
addsd xmm1, xmm2 // i += 1
movsd QWORD PTR [eax], xmm0 // save a
comis... 阅读全帖 |
|
S***y 发帖数: 186 | 20 mpif77, mpif90 ... are just so-called "wrapper" compiler.
They are practically not "real" compilers.
They need to call some background Fortran compilers to
carry out a complete compilation.
So, when installing the MPI, if the mpif77 is linked to
a Fortran90 compiler, such as pgf90 under Linux,
even mpif77 can compiler Fortran 90 programs in which
the MPI subroutines are called. |
|
S*******C 发帖数: 7325 | 21 ☆─────────────────────────────────────☆
compiler (阿飞) 于 (Wed Mar 10 23:25:08 2010, 美东) 提到:
韩信的这个问题我一直想不通。
在他打胜仗之前, 他没带过兵,没打过像样的仗, 没有过牛叉的言论, 怎么大家都
一至认为他牛呢?
像白起从小兵做起, 成长过称有目共睹
像诸葛亮身边的牛人,牛导师强力推荐。
都是混出了一定名声的人
但是韩信之前也就胯下了一把, 然后就是对漂母说的一番话。
大家凭什么就认为他牛, 而且一上来就拜大将军, 难道就不怕来一个只会纸上谈兵的
?
☆─────────────────────────────────────☆
whctmj (马甲) 于 (Wed Mar 10 23:29:24 2010, 美东) 提到:
大家是谁?推荐他的也就夏侯婴和萧何两个啊。这两个也是跟他谈过以后认为他有大才
的。
☆─────────────────────────────────────☆
vespers (一巴掌打死八个) 于 (Wed Mar 10 23:29:... 阅读全帖 |
|
l******h 发帖数: 2 | 22 Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖 |
|
g*******s 发帖数: 490 | 23 这边的c sample question
http://www.bestsamplequestions.com/technical-questions/c-sample-questions/c-sample-questions.html
列一下我发现的错误
第8
system dependent, be cautious of all sizeof questions, most of them are
system dependent
第10
system dependent, depends on the size of int
第11
compiler dependent
it's fine. 其实即使function的argument是数组形式,compiler也会自动改成指针,
just remember array is always
passed by its pointer in function calls
第16
won't print anything, 两个指针都没有allocate memory
第18
for declaration, it is not g... 阅读全帖 |
|
h*****f 发帖数: 248 | 24 1. Compile time because template initialization is done during the compile
time and the initialization is based on the "known" template parameter(s)
during the compile time.
2. A way to prove:
#include
#include
template class Buffer {
char internal[max];
public:
void printSize() {
printf("buffer size=%lu\n", sizeof(internal));
}
};
int main() {
Buffer<512> my512;
my512.printSize();
size_t v;
std::cin >> v;
printf("my input=%lu\... 阅读全帖 |
|
r******r 发帖数: 700 | 25 /**
* Using {@link AppleExercise.Problem1.SampleCache} as a starting point,
answer questions 1-3 by
* creating 3 new inner classes within {@link AppleExercise.Problem1}
below.
*/
public static class Problem1 {
public interface Cache {
public void put(Object key, Object value);
public Object get(Object key);
}
public static class SampleCache implements Cache {
private Map map;
public SampleCache() {
... 阅读全帖 |
|
t*****d 发帖数: 525 | 26 【 以下文字转载自 PDA 讨论区 】
发信人: weidong (伊拉克学习小组副组长), 信区: PDA
标 题: 老码农骂小码农的强文。
发信站: BBS 未名空间站 (Mon Nov 2 19:52:49 2015, 美东)
Linus Tovalds骂瞎写代码的小码农,荡气回肠,应该下发所有码农学习。
Christ people. This is just sh*t
.The conflict I get is due to stupid new gcc header file crap. But what
makes me upset is that the crap is for completely bogus reasons.
This is the old code in net/ipv6/ip6_output.c:
mtu -= hlen + sizeof(struct frag_hdr);
and this is the new “improved” code that uses fancy stuff that wants
magical built-in... 阅读全帖 |
|
l******h 发帖数: 2 | 27 Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖 |
|
l******o 发帖数: 279 | 28 实在是很穷,140过了也没多少包子可发,就干脆不发了(Sorry!),分享一下我的
Exhibits Index 和 Outline of Contributions 作为对本版众多热心ID的回报吧。如
果能顺便挣些包子,485过了定当散尽家财,希望到时粮仓充实了点 :-)
我的case他引一项很弱,所以我Exhibit Index中有意突出了一些闪光点,在文章(18
-65)、引用(69-79,141-145)和审稿(80-87)方面和网上看到的模板以及律师
提供的都有所不同,有意突出了自己认为比较强的方面:由于是跨学科,杂志分布比较
广,SJR 排名里找到了最适合自己的用上了。希望对和我情况类似的有所帮助。
Exhibits Index是我自己准备的,分享应该没问题。PL、RL 有很多律师的努力在里面
,就不共享了。下一片介绍 Outline of Contributions,是在律师给基础上大幅修改
了的,只列出 Outline。
INDEX OF EXHIBITS
Letters of Recommendation
Exhibit 1: Expert Testimony ... 阅读全帖 |
|
J**********7 发帖数: 2619 | 29 shimano确实挺阴的。
去年把crucial, cumara的warranty去掉了lifetime, 变成了1/3年?
今年北美的新expride, adrena 系列也只有1/3年 warranty。
今年还把gloomis的warranty都downgrade了。 nrx已经没有wildcard了,断杆+100换新
杆。
比st croix $75换新杆还贵。 比dobyns的$50换新杆更差了。当初我把6根legend
xtreme都卖了换成gloomis nrx,现在挺后悔,至少那根69mlxf 应该留着。 我卖杆子
极少留遗憾。现在的legend xtreme 69mlxf已经停产了,买不到了。
steez虽然贵些,但是lifetime warranty换的很干脆,我已经换过两根了。 compile-x
的blank确实比普通svf 好, 轻,有韧性。 不过美版只有3,4个model。 compile-x
711是我最喜欢用的general rod。
嫌steez贵,可以上zillion,价格便宜很多, 而且也有lifetime warranty。 虽然我
没用过zil... 阅读全帖 |
|
f******g 发帖数: 111 | 30
会
,
天外有天,人上有人。你这据话太绝对了。美国的很多博士在读书期间有很利害了。但是
大家也是知道的学术这个东西也是积累加熬年头。JOHN
NASH的获NOBEL奖的主要原因是20页左右的博士论文。不要说当年多少人知道了。就是在
这个电影播放以前,数学和经济理论领域外的人有多少知道这个名字的?隔行如隔山,就
是同为计算机领域,你也不知道别人作了什么。实在是术业有专功。
在说你的关于compiler的论断是怎么下的。我倒是很有兴趣知道。compiler是面向specif
ic 机器做优化的。你的INTEL上的怎么和人家SUN,IBM的相比?有可比性么?就算是具体
的领域还有专门的compiler.人家专门的parallel compiler和graphics compiler,张兆
庆的都通吃了?那么天下江山一统,我估计这个领域是没有什么PHD有他牛了。 |
|
k**********g 发帖数: 989 | 31
No, the program source code (C, C++, Python, you name it) needs to be
compiled for the ARM processor.
This is called cross-compiling, i.e. the compiler runs on one OS/
Architecture, but it generates the instruction code for a different
architecture.
Without doing this cross-compiling, your code can't run on other
architectures.
For byte-code virtual machine languages such as Java, a Java runtime
environment is built to run on ARM processors, so this version of JRE (a
program compiled for ARM) c... 阅读全帖 |
|
k**********g 发帖数: 989 | 32
No, the program source code (C, C++, Python, you name it) needs to be
compiled for the ARM processor.
This is called cross-compiling, i.e. the compiler runs on one OS/
Architecture, but it generates the instruction code for a different
architecture.
Without doing this cross-compiling, your code can't run on other
architectures.
For byte-code virtual machine languages such as Java, a Java runtime
environment is built to run on ARM processors, so this version of JRE (a
program compiled for ARM) c... 阅读全帖 |
|
d*r 发帖数: 238 | 33 I download Tomcat for Eclispe plug-in v1.03 and add it to Eclipse v3m8.
I testes with a simple welcome.jsp but failed
The errors I got:
Error running javac.exe compiler
at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternal
Compile(DefaultCompilerAdapter.java:455)
at
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.ja
va:81)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:840)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.jav |
|
N*D 发帖数: 3641 | 34 未必"the more complication, the less efficient"吧。这个是syntax复杂在front e
nd,compile之后还是byte code在JVM上执行。不好说这个scala的compiler好还是java
的compiler好。而且写这个的人是java compiler原作者,俺合理的推断,有些前面的e
xperience,这个scala的compiler可能更好。
Yes, I am a believer the more complication a language is, the less efficient
it will be.
But that being said, seems like scala is a good language that is worth to
checkout.
Maybe we should make this board a forum both for java and for close
languages such as scala ;-) |
|
x***n 发帖数: 70 | 35 Many thanks!
So the key is "compiler just looks at the declaration to determine the type"
, and the compiler needs to make sure the element to be added is of the type
surely safe to be added.
So I think that's the same reason why 3 and 4 in the following statements
can't compile:
1 List< ? extends Number> list1 = new ArrayList ();
2 List< ? > list2 = new ArrayList ();
3 list1.add(3.2);
4 list2.add(4.8);
IOException's parent class (the exact type is not known). It's ok to add
F... 阅读全帖 |
|
r****n 发帖数: 496 | 36 There are already tools compiling .net code into native binary.
The problem is, in a lot of cases, the performance improvement is trivial.
In quite some cases, the performance even degrades.
Pre-compiling saves load time for sure, but .net just-in-time compiler does
a lot of optimization based on hardware platform (e.g. cpu type) on which
the code is actually running. By compiling into native code, you lose
such optimizations. For server applications, saving in compile time doesn't
make sense si |
|
S*A 发帖数: 7142 | 37 The gcc use a host cc to compile itself.
The it used the compiled gcc to compile the gcc
again to get to the right result.
You need a host CC to bootstrap your own C
compiler. The first UNIX cc is written in asm.
Now days every one just use gcc to boot strap.
Clang does that too. Now days Clang can compile
itself. |
|
W*****x 发帖数: 684 | 38 $ cd geoip-api-c-master
$ libtoolize
$ aclocal
$ autoconf
$ automake --add-missing
$./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
... 阅读全帖 |
|
u****u 发帖数: 229 | 39 我的意思是compiler把这个b[100]放到stack上,不是programmer决定的。一般的
compiler看到int b[100]就会在stack上安排一个100个int的空间,我问的是可以不可以
有一个“特别的compiler”,把这个"100个int"的空间放到heap上。这个过程对
programmer是透明的,programmer不能控制的。
或者从另一个角度说,如果你看到int b[100],programmer能不能认为这个存储空间一定
是在stack上的?会不会有一个特别的compiler为了某种需要将这个存储空间安排到heap
上?如果compiler这么做,会不会违反C中的某些规定? |
|
e*****t 发帖数: 1 | 40 Downcast is for Compile-time type check, i.e., for the compilers to do error
checking. For example, if you declare a class A and then point it to a Run-
time type B like the following,
Class A{
A(); //ctor
int a;
}
Class B extends A{
super();
sort();
}
A a = new B();
You can not say
a.sort(); //compile error
But you can say
(B)a.sort(); //compile OK
====
if you say
A a = new A();
B b = a;
you will get a compile error.
=======
if you say
A a = new A();
B b = new B();
a = b; // this is OK.
a.sort |
|
j****r 发帖数: 28 | 41 That depends on the compiling option and your compiler.
If you use GCC, you can use option -O to specify the optimization level you
want. If you use full optimization(-O3), I think the compiler will try to
optimize it. If variable n is not modified inside the loop, it will be
optimized of course. If variable n is modified inside the loop, I don't
think the compiler will optimize it. If it is difficult for the compiler to
judge between these two situations, I guess the complier takes a
conservati |
|
y****e 发帖数: 23939 | 42 GCC是GNU Compiler Collection,包括C/C++ Objective C compiler, FORTRAN
compiler,Java compiler,Ada compiler等等。
Linux下有命令g++和gcc,g++是C++编译器,gcc是C编译器。 |
|
a**a 发帖数: 416 | 43 Why would you like to concern with compiler errors? Are you a compiler
doctor?
Since the overwhelming capacity of logic in reality is MUCH MUCH larger than
any kind of programs can be devised by human being, there are infinite
corners
a program (including a compiler) would give up to cope with.
Particular to your question, undefined behavior means an implement of the
compiler could do whatever it likes to. Without specific information on
which compiler you are talking about, it is really not a g |
|
p********y 发帖数: 111 | 44 someone told me:
"
There are compilation errors which seem to indicate that your compiler
accepts 6-character variable names (F77 standard) while the source code
expects some other compilers that accept an extension (sometimes up to 32
characters).
It's time to check the source code package for the compatible operating
systems and compilers, and see if your system or compiler is one of them. If
not, expect to do some hands-on programming/modifications.
"
but how can i do? how to check the compat |
|
d****p 发帖数: 685 | 45 Thanks for help. So I kind of think Solaris C++ compiler is not perfectly C+
+ compliant to support BOOST - I already turned stl4port option on.
I googled this issue but could not find any helpful clues. Maybe the
compiler I was using is not up to date (SunOS C++ 5.5).
Now it seems GCC is the ideal compiler in term of C++ standard compliance.
VC++ compiler is way not too slack while the solaris one too harsh. But
regarding code optimization and compilation speed, GCC sucks :-(
When developing cr |
|
a**a 发帖数: 416 | 46 I think the template specializations are there for trail from the compiler:
compiler is trying for fit your instantiation of a template class
declaration for the most suitable specialization without compilation error.
So if you are trying to instantiate Bar<1, func>, the compiler will find
case 2 instead of case 3 for you. The error for case 3 will be suppressed
silently unless the compiler could not find a fit for you. |
|
a***y 发帖数: 2803 | 47 compiler的编写者据说在写compiler的时候,考虑到了compiler的容错能力,毕竟如果这
个compiler太苛刻了,用户会选择其他的compiler来用.
这个和browser里面的容错能力一樣,所以有时候html文件里有错,但是browser还是会显
示正常.如果browser太苛刻,用户会考虑用其他的browser. |
|