Wednesday, October 2, 2013

FeedaMail: Comments for Sutter̢۪s Mill

feedamail.com Comments for Sutter's Mill

Comment on Bjarne and I are speaking in Chicago on Tuesday night by Paul Keyser

I enjoyed your talk on Tues Sept 24, and especially the English to C++ parallels, and would like to suggest some small fixes:
a) the ending -ize is indeed from Greek and is verbal; but the “real” in reali(s|z)e is Latin; a better example might be bapti(s|z)e, since bapt- is Greek.
b) the examples of the Persian and Roman empires were good; but you might want to look at (i) the Chinese empire (was Mandarin not the sole official language?) and (ii) the Islamic empire (I think more like the Persian empire, with one overarching privileged language, and many local languages of use).

Read More »

Comment on Bjarne and I are speaking in Chicago on Tuesday night by Yuriy Grishin

@Vipul S. Chawathe
the code does not compile
—————————————————————-
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\prog\cpp\tests\cpp-core>g++ test1
g++: error: test1: No such file or directory
g++: fatal error: no input files
compilation terminated.

c:\prog\cpp\tests\cpp-core>g++ test1.cpp
test1.cpp:7:16: error: ‘function’ is not a member of ‘std’
const int& f1 (std::function func) {
^
test1.cpp:7:30: error: expected primary-expression before ‘const’
const int& f1 (std::function func) {
^
test1.cpp:7:51: error: expected ‘,’ or ‘;’ before ‘{‘ token
const int& f1 (std::function func) {
^
test1.cpp: In function ‘int main()’:
test1.cpp:14:20: error: expression cannot be used as a function
const int& p = f1(f);
^

c:\prog\cpp\tests\cpp-core>g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure –prefix=/mingw –host=mingw32 –build=m
ingw32 –without-pic –enable-shared –enable-static –with-gnu-ld –enable-lto
–enable-libssp –disable-multilib –enable-languages=c,c++,fortran,objc,obj-c++
,ada –disable-sjlj-exceptions –with-dwarf2 –disable-win32-registry –enable-l
ibstdcxx-debug –enable-version-specific-runtime-libs –with-gmp=/usr/src/pkg/gm
p-5.1.2-1-mingw32-src/bld –with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld –
with-mpfr= –with-system-zlib –with-gnu-as –enable-decimal-float=yes –enable-
libgomp –enable-threads –with-libiconv-prefix=/mingw32 –with-libintl-prefix=/
mingw
Thread model: win32
gcc version 4.8.1 (GCC)

c:\prog\cpp\tests\cpp-core>

Read More »
 
Delievered to you by Feedamail.
Unsubscribe