Running into "error: […] is a c++ extension"

After running: g++ –std=c++11 -ansi -pedantic-errors -Wall -o test_database test_database.cpp I am receiving the following errors: ./database.h:40:10: error: ‘auto’ type specifier is a C++11 extension [-Werror,-Wc++11-extensions] for (auto x:composerMap_) { ^ ./database.h:40:16: error: range-based for loop is a C++11 extension [-Werror,-Wc++11-extensions] for (auto x:composerMap_) { Yet note that I have already added the ‘–std=c++11’ flag… Read More Running into "error: […] is a c++ extension"

Install Chrome on ubuntu/debian with arm64

I’m trying to install chrome using the commands below: wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add – sh -c ‘echo "deb [arch=$(dpkg –print-architecture)] https://dl-ssl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list’ apt update && apt install -y google-chrome-stable –no-install-recommends I get the following error: Get:4 https://dl-ssl.google.com/linux/chrome/deb stable InRelease [1811 B] Fetched 1811 B in 0s (4467 B/s)… Read More Install Chrome on ubuntu/debian with arm64

In gnu assembly langage (for arm64), how can I specify a variable to be placed in a specific section?

In assembly code, this code .data myval : .long 0x11111111 places the variable myval in .data section. So I wanted to define my own section in a specific address in SDRAM and use it in the assembly code to write some data for debug. I added my section in the linker script like this (this… Read More In gnu assembly langage (for arm64), how can I specify a variable to be placed in a specific section?