Ask Your Question
2

What does the error message "expected primary-expression" indicate when compiling Cuda?

asked 2022-12-18 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-06-08 09:00:00 +0000

ladyg gravatar image

The error message "expected primary-expression" usually indicates a syntax error in the code. It means that the compiler expected to find a valid expression but instead found something else. This could be caused by a missing or extra parenthesis, a misspelled word, or a misplaced operator. It is often helpful to look at the line of code where the error occurred and check if there are any obvious mistakes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-12-18 11:00:00 +0000

Seen: 8 times

Last updated: Jun 08 '22