---
title: "Discussion on \"Three Lines That Only Compiled on a Mac\" | Hashnode"
description: "Discussion on \"Three Lines That Only Compiled on a Mac\". I tried to rebuild my old C and C++ projects on Linux. Three refused to compile and none of them had a bug."
url: "https://hashnode.com/posts/three-lines-that-only-compiled-on-a-mac/6a948bcf0d9b860b3d4d317e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Three Lines That Only Compiled on a Mac](https://mstaali-blog.hashnode.dev/three-lines-that-only-compiled-on-a-mac?utm_source=hashnode&utm_medium=feed)

I tried to rebuild my old C and C++ projects on Linux. Three refused to compile and none of them had a bug.

Aug 30 · 9 min read · mstaali-blog.hashnode.dev  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#compiler](https://hashnode.com/tag/compiler)
-   [#portability](https://hashnode.com/tag/portability)

## Written by

[mstaali](https://hashnode.com/@mstaali)

@mstaali

  
[View profile](https://hashnode.com/@mstaali)

sharing interesting parts behind systems and infrastructures.

Backend &amp; AI Engineer. Building Systems &amp; Infrastructure.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
