Search notes:

gcc -dumpversion

gcc -dumpversion prints the compiler's version.
The version number is used in filesystem paths and specs.
The returned version number can be one, two or three digites (separated by a dot).
$ gcc -dumpversion
10

See also

-dumpfullversion prints always three digits.
The version number is found in directories such as /usr/lib/gcc/x86_64-linux-gnu/VERSION
GCC options such as --version

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759398180, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/C-C-plus-plus/GCC/options/dump/version(52): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78