This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class a { | |
public: | |
struct dummy { int i; double j; }; | |
typedef int dummy::* _bool; | |
}; | |
typedef int bar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
struct FOO { | |
class_loader::class_loader_private::registerPlugin<A,B> &bar; | |
}; | |
static FOO foo(baz); | |
int main(void) { | |
foo2.bar = 3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = foo() | |
a.bar = 123 # default | |
with a: | |
a.bar = 13213 | |
a.do_stuff() | |
with a: | |
a.bar = 5432 | |
a.do_stuff() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc1plus: warning: -Wuninitialized is not supported without -O | |
In file included from /Users/harjohn/Projects/serial/src/serial.cc:4: | |
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: ‘class serial::SerialExecption’ has pointer data members | |
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: but does not override ‘serial::SerialExecption(const serial::SerialExecption&)’ | |
/Users/harjohn/Projects/serial/include/serial/serial.h:610: warning: or ‘operator=(const serial::SerialExecption&)’ | |
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: ‘class serial::IOException’ has pointer data members | |
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: but does not override ‘serial::IOException(const serial::IOException&)’ | |
/Users/harjohn/Projects/serial/include/serial/serial.h:624: warning: or ‘operator=(const serial::IOException&)’ | |
/Users/harjohn/Projects/serial/include/serial/serial.h:651: warning: ‘class serial::PortNotOpenedException’ has pointe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type is... int | |
Type is... char | |
Type is... float | |
Type is... double | |
Type is... long | |
Type is... short | |
Type is... int | |
Type is... double |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stack dump: | |
0. Running pass 'Function Pass Manager' on module 'core.rc'. | |
1. Running pass 'Greedy Register Allocator' on function '@_ZN7unicode16derived_property10Alphabetic17_fa1eb4cef144b687E' | |
/bin/sh: line 1: 78747 Illegal instruction: 4 x86_64-apple-darwin/stage1/bin/rustc -O --target=x86_64-apple-darwin --enforce-mut-vars -o x86_64-apple-darwin/stage1/lib/rustc/x86_64-apple-darwin/lib/libcore.dylib src/libcore/core.rc | |
make: *** [x86_64-apple-darwin/stage1/lib/rustc/x86_64-apple-darwin/lib/libcore.dylib] Error 132 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ avrdude -p at90usb82 -F -P usb -c avrispmkii -U flash:w:UNO-dfu_and_usbserial_combined.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m | |
avrdude: stk500v2_recv_mk2: error in USB receive | |
avrdude: AVR device initialized and ready to accept instructions | |
Reading | ################################################## | 100% 0.00s | |
avrdude: Device signature = 0xffffff | |
avrdude: Yikes! Invalid device signature. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iface foo<A> { | |
fn bar(a: A, b: A); | |
} | |
impl of foo<int> for int { | |
fn bar(a: int) { | |
// bad. | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
SoftwareSerial xbee(2,3); | |
void setup() { | |
Serial.begin(9600); | |
xbee.begin(9600); | |
} | |
void loop() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97.548% in __select() | |
01.442% in read() |