Created
August 23, 2023 01:45
-
-
Save keichi/cb32bd0741bfb545bfd4d7e3559274fc to your computer and use it in GitHub Desktop.
This file contains 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 <random> | |
int main() | |
{ | |
} |
This file contains 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 <random> |
This file contains 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
b.o: In function `std::experimental::fundamentals_v2::reseed()': | |
b.cpp:(.text+0x2670): multiple definition of `std::experimental::fundamentals_v2::reseed()' | |
a.o:a.cpp:(.text+0x26b0): first defined here | |
b.o: In function `std::experimental::fundamentals_v2::reseed(unsigned int)': | |
b.cpp:(.text+0x27d0): multiple definition of `std::experimental::fundamentals_v2::reseed(unsigned int)' | |
a.o:a.cpp:(.text+0x2810): first defined here |
This file contains 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
#/bin/bash | |
nc++ -std=c++17 -c a.cpp | |
nc++ -std=c++17 -c b.cpp | |
nc++ a.o b.o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment